Skip to main content
objectPrivateMessage

Implements

Fields

actorType

Who authored the message

artifact

Attached artifact (e.g. a Cohost-generated HTML page), when present

assets

File attachments (images, documents, audio, video)

chatCard

Inline card rendered within the message (e.g. a Cohost info card), when present

The conversation this message belongs to

createdAt
ISO8601DateTime!

Link-preview metadata when the message contains a link

id
ID!

ID of the object.

lastReplyAt
ISO8601DateTime

When the most recent reply was sent, or null when the message has no replies

reactions

Emoji reaction counts grouped by base emoji (skin-tone modifiers are stripped server-side).

replyCount
Int!

Number of replies in the thread rooted at this message

Parent message (null for root messages)

resourceId
ID!

Resource ID for this object, for interop with the Admin API.

textHtml
String

HTML content; internal classes and attributes are stripped on external API surfaces

textText
String

Plain text content with HTML stripped

threadTitle
String

Title of the thread rooted at this message, or null when the message has no thread

updatedAt
ISO8601DateTime!
user

The member who sent the message; null when the author no longer resolves