Text
data class Text(val text: String, val mentions: List<BackupMessageContent.Text.Mention> = emptyList(), val quotedMessageId: String? = null) : BackupMessageContent
Represents a text message with possible user mentions and serves as a part of the backup message content.
Throws
IllegalArgumentException
if any mention's range exceeds the length of the text.
Constructors
Link copied to clipboard
constructor(text: String, mentions: List<BackupMessageContent.Text.Mention> = emptyList(), quotedMessageId: String? = null)