class MatrixOrg::Client

Defined in:

client/responses.cr
matrix_org-client.cr

Constant Summary

VERSION = "0.1.0"

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(base_url : String, access_token : String | Nil = nil) #

[View source]

Instance Method Detail

def add_room_alias(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def capabilities(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def create_room(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def delete_room_alias(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def delete_user_room_tag(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def download_media(server_name : String, media_id : String, filename : String) #

[View source]
def download_media(server_name : String, media_id : String) #

[View source]
def invite(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def join_room(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def joined_rooms(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def leave_room(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def media_config(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def presence(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def profile(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def profile_avatar_url(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def profile_displayname(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def redact_room_event(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def register(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def register_available(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def room_aliases(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def room_by_alias(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def send_message(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_presence(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_read_markers(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_read_receipt(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_typing(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_user_account_data(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_user_room_account_data(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def set_user_room_tag(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def update_profile_avatar_url(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def update_profile_displayname(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def upload_media(filename, file) #

[View source]
def user_account_data(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def user_directory_search(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def user_room_account_data(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def user_room_tags(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def versions(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]
def whoami(user_id : String | Nil = nil, *params, data : NamedTuple | Nil = nil) #

[View source]

Macro Detail

macro endpoint(http_method, method_name, endpoint_path, response = nil) #

[View source]