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.cr

Constructors

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") #

[View source]
def self.new(pull : JSON::PullParser) #

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


[View source]

Instance Method Detail

def format : String | Nil #

[View source]
def formatted_body : String | Nil #

[View source]