ConversationEntry
Represents a single entry within a conversation, such as a message, event, or typing indicator.
Conversation entries are the fundamental building blocks of a conversation's timeline. Each entry has a sender, a payload containing the entry content, and a delivery status.
Inheritors
Properties
The unique identifier of the conversation this entry belongs to.
The server-assigned identifier for this entry. May differ from identifier for locally-created entries.
The type of this entry (e.g., message, typing indicator, participant event).
The error associated with this entry if status is ConversationEntryStatus.Error, or null otherwise.
A unique identifier for this entry, used for deduplication and reference.
The Message payload of this entry, or null if the entry is not a message type.
The content payload of this entry, containing the message body, event data, or other typed content.
The participant who sent this entry.
The display name of the participant who sent this entry.
The current delivery status of this entry (e.g., sending, sent, delivered, read).
The StreamingToken payload of this entry, or null if the entry is not a streaming token type.
Functions
Returns the message content cast to the specified MessageFormat subtype, or null if the entry does not contain message content of that type. Works for both standard messages and streaming tokens.