class TD::SupergroupFullInfo

Included Modules

Defined in:

telegram/types/supergroup_full_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(photo : Union(TD::ChatPhoto, Nil), description : String, member_count : Int32, administrator_count : Int32, restricted_count : Int32, banned_count : Int32, linked_chat_id : Int64, slow_mode_delay : Int32, slow_mode_delay_expires_in : Float64, sticker_set_id : String, location : Union(TD::ChatLocation, Nil), invite_link : Union(TD::ChatInviteLink, Nil), bot_commands : Array(TD::BotCommands), upgraded_from_basic_group_id : Int64, upgraded_from_max_message_id : Int64, can_get_members : Bool = false, can_set_username : Bool = false, can_set_sticker_set : Bool = false, can_set_location : Bool = false, can_get_statistics : Bool = false, is_all_history_available : Bool = false) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def administrator_count : Int32 #

def administrator_count=(administrator_count : Int32) #

def banned_count : Int32 #

def banned_count=(banned_count : Int32) #

def bot_commands : Array(TD::BotCommands) #

def bot_commands=(bot_commands : Array(TD::BotCommands)) #

def can_get_members : Bool #

def can_get_members=(can_get_members : Bool) #

def can_get_statistics : Bool #

def can_get_statistics=(can_get_statistics : Bool) #

def can_set_location : Bool #

def can_set_location=(can_set_location : Bool) #

def can_set_sticker_set : Bool #

def can_set_sticker_set=(can_set_sticker_set : Bool) #

def can_set_username : Bool #

def can_set_username=(can_set_username : Bool) #

def description : String #

def description=(description : String) #

def invite_link : TD::ChatInviteLink? #

def invite_link=(invite_link : Nil | TD::ChatInviteLink) #

def is_all_history_available : Bool #

def is_all_history_available=(is_all_history_available : Bool) #

def linked_chat_id : Int64 #

def linked_chat_id=(linked_chat_id : Int64) #

def location : TD::ChatLocation? #

def location=(location : Nil | TD::ChatLocation) #

def member_count : Int32 #

def member_count=(member_count : Int32) #

def object_type : String #

def object_type=(object_type : String) #

def photo : TD::ChatPhoto? #

def photo=(photo : Nil | TD::ChatPhoto) #

def restricted_count : Int32 #

def restricted_count=(restricted_count : Int32) #

def slow_mode_delay : Int32 #

def slow_mode_delay=(slow_mode_delay : Int32) #

def slow_mode_delay_expires_in : Float64 #

def slow_mode_delay_expires_in=(slow_mode_delay_expires_in : Float64) #

def sticker_set_id : String #

def sticker_set_id=(sticker_set_id : String) #

def upgraded_from_basic_group_id : Int64 #

def upgraded_from_basic_group_id=(upgraded_from_basic_group_id : Int64) #

def upgraded_from_max_message_id : Int64 #

def upgraded_from_max_message_id=(upgraded_from_max_message_id : Int64) #