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

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

Properties

attachments
Link copied to clipboard
common
val attachments: List<JsonQuotedAttachment>
list of files attached to the quoted message
author
Link copied to clipboard
common
val author: JsonAddress? = null
the author of the message being quoted
id
Link copied to clipboard
common
val id: Long? = null
the client timestamp of the message being quotedExample: 1615576442475
mentions
Link copied to clipboard
common
val mentions: List<JsonMention>
list of mentions in the quoted message
text
Link copied to clipboard
common
val text: String? = null
the body of the message being quotedExample: "hey  what's up?