ChatMessage
A message within a public space chat
ChatMessageImplements
Fields
Who authored the message
Attached artifact (e.g. a Cohost-generated HTML page), when present
File attachments (images, documents, audio, video)
Inline card rendered within the message (e.g. a Cohost info card), when present
The conversation this message belongs to
Link-preview metadata when the message contains a link
ID of the object.
When the most recent reply was sent, or null when the message has no replies
Emoji reaction counts grouped by base emoji (skin-tone modifiers are stripped server-side).
Number of replies in the thread rooted at this message
Parent message (null for root messages)
Resource ID for this object, for interop with the Admin API.
HTML content; internal classes and attributes are stripped on external API surfaces
Plain text content with HTML stripped
Title of the thread rooted at this message, or null when the message has no thread
The member who sent the message; null when the author no longer resolves