class Caridina::Events::Message::Text
Overview
Represents a m.room.message event's content of type m.text.
Direct Known Subclasses
Defined in:
caridina/events/modules/instant_messaging.crConstructors
- .new(body, formatted_body : Nil | String, format : Nil | String = "org.matrix.custom.html")
-
.new(pull : JSON::PullParser)
Represents a m.room.message event's content of type m.text.
Instance Method Summary
Instance methods inherited from class Caridina::Events::Message::Content
body : String
body,
msgtype : String
msgtype,
relates_to : RelatesTo | Nil
relates_to
Constructor methods inherited from class Caridina::Events::Message::Content
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(body, formatted_body : Nil | String, format : Nil | String = "org.matrix.custom.html")
#