MessageVerificationRequestContent

@JsonClass(generateAdapter = true)
data class MessageVerificationRequestContent(@Json(name = "msgtype") val msgType: String = MessageType.MSGTYPE_VERIFICATION_REQUEST, @Json(name = "body") val body: String, @Json(name = "from_device") val fromDevice: String?, @Json(name = "methods") val methods: List<String>, @Json(name = "to") val toUserId: String, @Json(name = "timestamp") val timestamp: Long?, @Json(name = "format") val format: String? = null, @Json(name = "formatted_body") val formattedBody: String? = null, @Json(name = "m.relates_to") val relatesTo: RelationDefaultContent? = null, @Json(name = "m.new_content") val newContent: Content? = null, val transactionId: String? = null) : MessageContent

Constructors

Link copied to clipboard
constructor(@Json(name = "msgtype") msgType: String = MessageType.MSGTYPE_VERIFICATION_REQUEST, @Json(name = "body") body: String, @Json(name = "from_device") fromDevice: String?, @Json(name = "methods") methods: List<String>, @Json(name = "to") toUserId: String, @Json(name = "timestamp") timestamp: Long?, @Json(name = "format") format: String? = null, @Json(name = "formatted_body") formattedBody: String? = null, @Json(name = "m.relates_to") relatesTo: RelationDefaultContent? = null, @Json(name = "m.new_content") newContent: Content? = null, transactionId: String? = null)

Functions

Link copied to clipboard

Get the latest displayable content. Will take care to hide spoiler text

Properties

Link copied to clipboard
open override val body: String
Link copied to clipboard
val format: String? = null
Link copied to clipboard
val formattedBody: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val msgType: String
Link copied to clipboard
open override val newContent: Content? = null
Link copied to clipboard
open override val relatesTo: RelationDefaultContent? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val transactionId: String? = null