Message

interface Message

Represents a message in a conversation.

Properties

Link copied to clipboard
abstract val attachments: Set<Attachment>

Set of Attachments

Link copied to clipboard
abstract val conversationId: ConversationId

Unique identifier for the conversation.

Link copied to clipboard

The datetime when the message was updated by the Contact Center

Link copied to clipboard
abstract val messageId: MessageId

The unique 36 character internal id for this specific message.

Link copied to clipboard
abstract val parentMessageId: MessageId?

The unique 36 character internal id for the message that is the parent of this message

Link copied to clipboard
abstract val receivedAt: OffsetDateTime?

The datetime when the message was received by the Contact Center

Link copied to clipboard

The rich-media payload

Link copied to clipboard
abstract val senderParticipant: Participant

The participant who sent the message

Link copied to clipboard
abstract val text: String

Text content of the message.

Link copied to clipboard
abstract val textFormat: TextType

Format of the message text.

Link copied to clipboard
abstract val type: ElementType

The type of the body element such as text