class Tourmaline::Chat
- Tourmaline::Chat
- Reference
- Object
Overview
This object represents a Telegram user or bot.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/chat.crConstructors
Instance Method Summary
- #can_set_sticker_set : Bool | Nil
- #chat_photo : ChatPhoto | Nil
- #delete_chat_sticker_set
- #delete_photo
- #description : String | Nil
- #edit_live_location(latitude, longitude, **kwargs)
- #first_name : String | Nil
- #id : Int64
- #invite_link
- #last_name : String | Nil
- #member_count
- #permissions : ChatPermissions | Nil
- #pinned_message : Message | Nil
- #send_animation(animation, **kwargs)
- #send_audio(audio, **kwargs)
- #send_chat_action(action : ChatAction)
- #send_contact(phone_number, first_name, **kwargs)
- #send_document(document, **kwargs)
- #send_game(game_name, **kwargs)
- #send_invoice(invoice, **kwargs)
- #send_location(latitude, longitude, **kwargs)
- #send_media_group(media, **kwargs)
- #send_message(*args, **kwargs)
- #send_photo(photo, **kwargs)
- #send_sticker(sticker, **kwargs)
- #send_venue(latitude, longitude, title, address, **kwargs)
- #send_video(video, **kwargs)
- #send_video_note(video_note, **kwargs)
- #send_voice(voice, **kwargs)
- #set_administrator_custom_title(user, custom_title)
- #set_description(description : Nil | String)
- #set_permissions(permissions)
- #set_photo(photo)
- #set_sticker_set(set_name : Nil | String)
- #set_title(title : Nil | String)
- #slow_mode_delay : Int32 | Nil
- #sticker_set_name : String | Nil
- #stop_live_location(**kwargs)
- #title : String | Nil
- #type : String
- #unpin_message
- #username : String | Nil