class Tourmaline::Chat

Overview

This object represents a Telegram user or bot.

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def can_set_sticker_set : Bool? #

def channel? #

def chat_photo : ChatPhoto? #

def client : Tourmaline::Client #

def client=(client : Tourmaline::Client) #

def client? : Tourmaline::Client? #

def delete_chat_sticker_set #

def delete_photo #

def description : String? #

def edit_live_location(latitude, longitude, **kwargs) #

def first_name : String? #

def group? #

def id : Int64 #

def invite_link #

def last_name : String? #

def member_count #

def name #

def permissions : ChatPermissions? #

def pinned_message : Message? #

def private? #

def send_animation(animation, **kwargs) #

def send_audio(audio, **kwargs) #

def send_chat_action(action : ChatAction) #

def send_contact(phone_number, first_name, **kwargs) #

def send_document(document, **kwargs) #

def send_game(game_name, **kwargs) #

def send_invoice(invoice, **kwargs) #

def send_location(latitude, longitude, **kwargs) #

def send_media_group(media, **kwargs) #

def send_menu(menu : RoutedMenu, **kwargs) #

def send_message(*args, **kwargs) #

def send_photo(photo, **kwargs) #

def send_sticker(sticker, **kwargs) #

def send_venue(latitude, longitude, title, address, **kwargs) #

def send_video(video, **kwargs) #

def send_video_note(video_note, **kwargs) #

def send_voice(voice, **kwargs) #

def set_administrator_custom_title(user, custom_title) #

def set_description(description) #

def set_permissions(permissions) #

def set_photo(photo) #

def set_sticker_set(set_name) #

def set_title(title) #

def slow_mode_delay : Int32? #

def sticker_set_name : String? #

def stop_live_location(**kwargs) #

def supergroup? #

def title : String? #

def type : Type #

def unpin_message #

def username : String? #