MessageDefaultContent

@JsonClass(generateAdapter = true)
data class MessageDefaultContent(    @Json(name = "msgtype") val msgType: String,     @Json(name = "body") val body: String,     @Json(name = "m.relates_to") val relatesTo: RelationDefaultContent? = null,     @Json(name = "m.new_content") val newContent: Content? = null) : MessageContent

Constructors

Link copied to clipboard
fun MessageDefaultContent(    @Json(name = "msgtype") msgType: String,     @Json(name = "body") body: String,     @Json(name = "m.relates_to") relatesTo: RelationDefaultContent? = null,     @Json(name = "m.new_content") newContent: Content? = null)

Properties

Link copied to clipboard
open override val body: String
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