MessageEntityContent

Types

Link copied to clipboard
data class Asset(val assetSizeInBytes: Long, val assetName: String? = null, val assetMimeType: String, val assetOtrKey: ByteArray, val assetSha256Key: ByteArray, val assetId: String, val assetToken: String? = null, val assetDomain: String? = null, val assetEncryptionAlgorithm: String?, val assetWidth: Int? = null, val assetHeight: Int? = null, val assetDurationMs: Long? = null, val assetNormalizedLoudness: ByteArray? = null) : MessageEntityContent.Regular
Link copied to clipboard
data class Composite(val text: MessageEntityContent.Text?, val buttonList: List<ButtonEntity>) : MessageEntityContent.Regular
Link copied to clipboard
data class ConversationMessageTimerChanged(val messageTimer: Long?) : MessageEntityContent.System
Link copied to clipboard
data class ConversationReceiptModeChanged(val receiptMode: Boolean) : MessageEntityContent.System
Link copied to clipboard
data class ConversationRenamed(val conversationName: String) : MessageEntityContent.System
Link copied to clipboard
Link copied to clipboard
data class FailedDecryption(val encodedData: ByteArray? = null, val code: Int?, val isDecryptionResolved: Boolean, val senderUserId: QualifiedIDEntity, val senderClientId: String?) : MessageEntityContent.Regular
Link copied to clipboard
data class Federation(val domainList: List<String>, val type: MessageEntity.FederationType) : MessageEntityContent.System
Link copied to clipboard
Link copied to clipboard
data class Knock(val hotKnock: Boolean) : MessageEntityContent.Regular
Link copied to clipboard
data class LegalHold(val memberUserIdList: List<QualifiedIDEntity>, val type: MessageEntity.LegalHoldType) : MessageEntityContent.System
Link copied to clipboard
data class Location(val latitude: Float, val longitude: Float, val name: String? = null, val zoom: Int? = null) : MessageEntityContent.Regular
Link copied to clipboard
data class MemberChange(val memberUserIdList: List<QualifiedIDEntity>, val memberChangeType: MessageEntity.MemberChangeType) : MessageEntityContent.System
Link copied to clipboard
Link copied to clipboard
data class NewConversationReceiptMode(val receiptMode: Boolean) : MessageEntityContent.System
Link copied to clipboard
Link copied to clipboard
data class RestrictedAsset(val mimeType: String, val assetSizeInBytes: Long, val assetName: String) : MessageEntityContent.Regular
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TeamMemberRemoved(val userName: String) : MessageEntityContent.System
Link copied to clipboard
data class Text(val messageBody: String, val linkPreview: List<MessageEntity.LinkPreview> = listOf(), val mentions: List<MessageEntity.Mention> = listOf(), val quotedMessageId: String? = null, val isQuoteVerified: Boolean? = null, val quotedMessage: MessageEntityContent.Text.QuotedMessage? = null) : MessageEntityContent.Regular
Link copied to clipboard
data class Unknown(val typeName: String? = null, val encodedData: ByteArray? = null) : MessageEntityContent.Regular