Tourmaline::Chat
Inherits Tourmaline::Model < JSON::Serializable < Reference < Object
This object represents a Telegram user or bot.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
active_usernames
Sourcebio
Sourcecan_set_sticker_set
Sourcechannel?
Sourcedelete_chat_sticker_set
Sourcedelete_photo
Sourcedescription
Sourceedit_live_location(latitude, longitude, **kwargs)
Sourceemoji_status_custom_emoji_id
Sourcefirst_name
Sourceforum?
Sourcegroup?
Sourcehas_private_forwards
Sourcehas_protected_content
Sourcehas_restricted_voice_and_video_messages
Sourceid
Sourceinvite_link
Sourcejoin_by_request
Sourcejoin_to_send_messages
Sourcelast_name
Sourcelinked_chat_id
Sourcelocation
Sourcemember_count
Sourcemessage_auto_delete_time
Sourcename
Sourcepermissions
Sourcephoto
Sourcepinned_message
Sourceprivate?
Sourcesend_animation(animation, **kwargs)
Sourcesend_audio(audio, **kwargs)
Sourcesend_chat_action(action : ChatAction)
Sourcesend_contact(phone_number, first_name, **kwargs)
Sourcesend_document(document, **kwargs)
Sourcesend_game(game_name, **kwargs)
Sourcesend_invoice(invoice, **kwargs)
Sourcesend_location(latitude, longitude, **kwargs)
Sourcesend_media_group(media, **kwargs)
Sourcesend_message(*args, **kwargs)
Sourcesend_paginated_keyboard(keyboard : PaginatedKeyboard, **kwargs)
Sourcesend_photo(photo, **kwargs)
Sourcesend_sticker(sticker, **kwargs)
Sourcesend_venue(latitude, longitude, title, address, **kwargs)
Sourcesend_video(video, **kwargs)
Sourcesend_video_note(video_note, **kwargs)
Sourcesend_voice(voice, **kwargs)
Sourceset_administrator_custom_title(user, custom_title)
Sourceset_permissions(permissions)
Sourceset_photo(photo)
Sourceslow_mode_delay
Sourcesticker_set_name
Sourcestop_live_location
Sourcesupergroup?
Sourcetitle
Sourcetype
Sourceunpin_message
Sourceusername
Source