MessageContentWithFormattedBody

interface MessageContentWithFormattedBody : MessageContent

Properties

Link copied to clipboard
abstract val body: String
Link copied to clipboard
abstract val format: String?

The format used in the formatted_body. Currently only "org.matrix.custom.html" is supported.

Link copied to clipboard
abstract val formattedBody: String?

The formatted version of the body. This is required if format is specified.

Link copied to clipboard
open val matrixFormattedBody: String?

Get the formattedBody, only if not blank and if the format is equal to "org.matrix.custom.html".

Link copied to clipboard
abstract val msgType: String
Link copied to clipboard
abstract val newContent: Content?
Link copied to clipboard
abstract val relatesTo: RelationDefaultContent?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard