class

Caridina::Events::Message::Text

Inherits Caridina::Events::Message::Content < JSON::Serializable < Reference < Object

Represents a m.room.message event's content of type m.text.

Constructors

new(body, formatted_body : Nil | String, format : Nil | String = "org.matrix.custom.html")
Source
new(pull : JSON::PullParser)

Represents a m.room.message event's content of type m.text.

Source

Instance methods

format
Source
formatted_body
Source