class Tourmaline::Chat

Overview

This object represents a Telegram user or bot.

Included Modules

Defined in:

tourmaline/models/chat.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def active_usernames : Array(String) #

[View source]
def bio : String | Nil #

[View source]
def can_set_sticker_set? : Bool | Nil #

[View source]
def channel? #

[View source]
def description : String | Nil #

[View source]
def emoji_status_custom_emoji_id : String | Nil #

[View source]
def first_name : String | Nil #

[View source]
def forum? : Bool | Nil #

[View source]
def group? #

[View source]
def has_aggressive_anti_spam_enabled? : Bool | Nil #

[View source]
def has_hidden_members? : Bool | Nil #

[View source]
def has_private_forwards? : Bool | Nil #

[View source]
def has_protected_content? : Bool | Nil #

[View source]
def has_restricted_voice_and_video_messages? : Bool | Nil #

[View source]
def id : Int64 #

[View source]
def invite_link : String | Nil #

[View source]
def join_by_request : Bool | Nil #

[View source]
def join_to_send_messages : Bool | Nil #

[View source]
def last_name : String | Nil #

[View source]
def linked_chat_id : Int64 | Nil #

[View source]
def location : ChatLocation | Nil #

[View source]
def message_auto_delete_time : Int32 | Nil #

[View source]
def name #

[View source]
def permissions : ChatPermissions | Nil #

[View source]
def photo : ChatPhoto | Nil #

[View source]
def pinned_message : Message | Nil #

[View source]
def private? #

[View source]
def scam? : Bool | Nil #

[View source]
def slow_mode_delay : Int32 | Nil #

[View source]
def sticker_set_name : String | Nil #

[View source]
def supergroup? #

[View source]
def title : String | Nil #

[View source]
def type : Type #

[View source]
def username : String | Nil #

[View source]
def verified? : Bool | Nil #

[View source]