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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ConversationProtocolChanged(val protocol: ConversationEntity.Protocol) : MessageEntityContent.System
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
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
Link copied to clipboard
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
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