Skip to main content
This page describes the complete message structure used in conversations.

ChatMessage

ID!
required
Unique identifier for the chat message.
Delta!
required
The content of the message. See Delta.
String!
required
The unique identifier of the conversation this message belongs to.
String
The unique identifier of the domain associated with this message.
Boolean!
required
Whether the message has been edited.
[String!]
Array of error messages if any errors occurred during message processing.
String
Optional message identifier for internal tracking.
ChatMessageSender!
required
The sender of the message. See ChatMessageSender.
DateTime!
required
The date and time when the message was created.
DateTime!
required
The date and time when the message was last updated.
DateTime
The date and time when the message data was last refreshed. Null if never refreshed.
String
The unique identifier of the user who sent the message.
DateTime
The date and time when message generation was cancelled. Null if not cancelled.

Delta Schema

Learn about message content structure

ChatMessageSender Enum

Message sender types

Subscribe Conversation

Listen for message updates