JsonQuote

data class JsonQuote(id: Long?, author: JsonAddress?, text: String?, attachments: List<JsonQuotedAttachment>, mentions: List<JsonMention>)

A quote is a reply to a previous message. ID is the sent time of the message being replied to

Constructors

Link copied to clipboard
fun JsonQuote(id: Long? = null, author: JsonAddress? = null, text: String? = null, attachments: List<JsonQuotedAttachment> = emptyList(), mentions: List<JsonMention> = emptyList())

Properties

Link copied to clipboard
val attachments: List<JsonQuotedAttachment>

list of files attached to the quoted message

Link copied to clipboard
val author: JsonAddress? = null

the author of the message being quoted

Link copied to clipboard
val id: Long? = null

the client timestamp of the message being quoted

Link copied to clipboard
val mentions: List<JsonMention>

list of mentions in the quoted message

Link copied to clipboard
val text: String? = null

the body of the message being quoted