Multipart

data class Multipart(val messageBody: String?, val linkPreview: List<MessageEntity.LinkPreview> = listOf(), val mentions: List<MessageEntity.Mention> = listOf(), val attachments: List<MessageAttachmentEntity> = listOf(), val quotedMessageId: String? = null, val isQuoteVerified: Boolean? = null, val quotedMessage: MessageEntityContent.Text.QuotedMessage? = null) : MessageEntityContent.Regular

Constructors

Link copied to clipboard
constructor(messageBody: String?, linkPreview: List<MessageEntity.LinkPreview> = listOf(), mentions: List<MessageEntity.Mention> = listOf(), attachments: List<MessageAttachmentEntity> = listOf(), quotedMessageId: String? = null, isQuoteVerified: Boolean? = null, quotedMessage: MessageEntityContent.Text.QuotedMessage? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val isQuoteVerified: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val messageBody: String?
Link copied to clipboard

Details of the message being quoted. Unused when inserting into the DB.

Link copied to clipboard
val quotedMessageId: String? = null