class Caridina::Events::Message::Text

Overview

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

Direct Known Subclasses

Defined in:

Constructors

Instance Method Summary

Instance methods inherited from class Caridina::Events::Message::Content

body : String body, msgtype : String msgtype, relates_to : RelatesTo? relates_to

Constructor methods inherited from class Caridina::Events::Message::Content

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(body, formatted_body, format = "org.matrix.custom.html") #

def self.new(pull : JSON::PullParser) #

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


Instance Method Detail

def format : String? #

def formatted_body : String? #