Text
@Serializable
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)