class TelegramBot::Models::Chat

Overview

https://core.telegram.org/bots/api#chat

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#chat


[View source]

Instance Method Detail

def can_set_sticker_set : Bool | Nil #

[View source]
def can_set_sticker_set=(can_set_sticker_set : Bool | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def first_name : String | Nil #

[View source]
def first_name=(first_name : String | Nil) #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def invite_link : String | Nil #

[View source]
def invite_link=(invite_link : String | Nil) #

[View source]
def last_name : String | Nil #

[View source]
def last_name=(last_name : String | Nil) #

[View source]
def permissions : ChatPermissions | Nil #

[View source]
def permissions=(permissions : ChatPermissions | Nil) #

[View source]
def photo : ChatPhoto | Nil #

[View source]
def photo=(photo : ChatPhoto | Nil) #

[View source]
def pinned_message : Message | Nil #

[View source]
def pinned_message=(pinned_message : Message | Nil) #

[View source]
def slow_mode_delay : Int32 | Nil #

[View source]
def slow_mode_delay=(slow_mode_delay : Int32 | Nil) #

[View source]
def sticker_set_name : String | Nil #

[View source]
def sticker_set_name=(sticker_set_name : String | Nil) #

[View source]
def title : String | Nil #

[View source]
def title=(title : String | Nil) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]
def username : String | Nil #

[View source]
def username=(username : String | Nil) #

[View source]