class Matrix::Architect::ConnectionImpl

Included Modules

Defined in:

connection.cr

Constant Summary

Log = Matrix::Architect::Log.for(self)

Constructors

Instance Method Summary

Instance methods inherited from module Matrix::Architect::Connection

edit_message(room_id : String, event_id : String, message : String, html : String | Nil = nil) : Nil edit_message, get(route, **options) : JSON::Any get, post(route, data = nil, **options) : JSON::Any post, put(route, data = nil) : JSON::Any put, send_message(room_id : String, message : String, html : String | Nil = nil) : String send_message

Constructor Detail

def self.new(hs_url : String, access_token : String) #

[View source]

Instance Method Detail

def create_filter(filter) : String #

[View source]
def edit_message(room_id : String, event_id : String, message : String, html : String | Nil = nil) : Nil #

[View source]
def get(route, **options) : JSON::Any #

[View source]
def join(room_id) #

[View source]
def post(route, data = nil, **options) : JSON::Any #

[View source]
def put(route, data = nil) : JSON::Any #

[View source]
def send_message(room_id : String, message : String, html : String | Nil = nil) : String #

[View source]
def sync(channel) #

[View source]
def user_id : String #

[View source]
def whoami : String #

[View source]