class

Tourmaline::Chat

Inherits Tourmaline::Model < JSON::Serializable < Reference < Object

This object represents a Telegram user or bot.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

active_usernames
Source
can_set_sticker_set
Source
channel?
Source
delete_chat_sticker_set
Source
delete_photo
Source
description
Source
edit_live_location(latitude, longitude, **kwargs)
Source
emoji_status_custom_emoji_id
Source
first_name
Source
forum?
Source
group?
Source
has_private_forwards
Source
has_protected_content
Source
has_restricted_voice_and_video_messages
Source
join_by_request
Source
join_to_send_messages
Source
last_name
Source
linked_chat_id
Source
location
Source
member_count
Source
message_auto_delete_time
Source
name
Source
permissions
Source
photo
Source
pinned_message
Source
private?
Source
scam?

USER API ONLY

Source
send_animation(animation, **kwargs)
Source
send_audio(audio, **kwargs)
Source
send_chat_action(action : ChatAction)
Source
send_contact(phone_number, first_name, **kwargs)
Source
send_document(document, **kwargs)
Source
send_game(game_name, **kwargs)
Source
send_invoice(invoice, **kwargs)
Source
send_location(latitude, longitude, **kwargs)
Source
send_media_group(media, **kwargs)
Source
send_menu(menu : RoutedMenu, **kwargs)
Source
send_message(*args, **kwargs)
Source
send_paginated_keyboard(keyboard : PaginatedKeyboard, **kwargs)
Source
send_photo(photo, **kwargs)
Source
send_sticker(sticker, **kwargs)
Source
send_venue(latitude, longitude, title, address, **kwargs)
Source
send_video(video, **kwargs)
Source
send_video_note(video_note, **kwargs)
Source
send_voice(voice, **kwargs)
Source
set_administrator_custom_title(user, custom_title)
Source
set_description(description : Nil | String)
Source
set_permissions(permissions)
Source
set_photo(photo)
Source
set_sticker_set(set_name : Nil | String)
Source
set_title(title : Nil | String)
Source
slow_mode_delay
Source
sticker_set_name
Source
stop_live_location
Source
supergroup?
Source
title
Source
type
Source
unpin_message
Source
username
Source
verified?

USER API ONLY

Source

Nested types