MessageContent

data class MessageContent(val text: String = "", val attachments: List<AttachmentMetadata> = emptyList(), val emojiTags: List<List<String>> = emptyList())

User-authored content for a new or edited message.

Constructors

Link copied to clipboard
constructor(text: String = "", attachments: List<AttachmentMetadata> = emptyList(), emojiTags: List<List<String>> = emptyList())

Properties

Link copied to clipboard

Authenticated attachment metadata in display order.

Link copied to clipboard

Exact custom-emoji tag arrays referenced by the content.

Link copied to clipboard

Plain message text.