class
TD::SupergroupFullInfo
- TD::SupergroupFullInfo
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/supergroup_full_info.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #administrator_count : Int32
- #administrator_count=(administrator_count : Int32)
- #banned_count : Int32
- #banned_count=(banned_count : Int32)
- #bot_commands : Array(TD::BotCommands)
- #bot_commands=(bot_commands : Array(TD::BotCommands))
- #can_get_members : Bool
- #can_get_members=(can_get_members : Bool)
- #can_get_statistics : Bool
- #can_get_statistics=(can_get_statistics : Bool)
- #can_set_location : Bool
- #can_set_location=(can_set_location : Bool)
- #can_set_sticker_set : Bool
- #can_set_sticker_set=(can_set_sticker_set : Bool)
- #can_set_username : Bool
- #can_set_username=(can_set_username : Bool)
- #description : String
- #description=(description : String)
- #invite_link : TD::ChatInviteLink?
- #invite_link=(invite_link : Nil | TD::ChatInviteLink)
- #is_all_history_available : Bool
- #is_all_history_available=(is_all_history_available : Bool)
- #linked_chat_id : Int64
- #linked_chat_id=(linked_chat_id : Int64)
- #location : TD::ChatLocation?
- #location=(location : Nil | TD::ChatLocation)
- #member_count : Int32
- #member_count=(member_count : Int32)
- #object_type : String
- #object_type=(object_type : String)
- #photo : TD::ChatPhoto?
- #photo=(photo : Nil | TD::ChatPhoto)
- #restricted_count : Int32
- #restricted_count=(restricted_count : Int32)
- #slow_mode_delay : Int32
- #slow_mode_delay=(slow_mode_delay : Int32)
- #slow_mode_delay_expires_in : Float64
- #slow_mode_delay_expires_in=(slow_mode_delay_expires_in : Float64)
- #sticker_set_id : String
- #sticker_set_id=(sticker_set_id : String)
- #upgraded_from_basic_group_id : Int64
- #upgraded_from_basic_group_id=(upgraded_from_basic_group_id : Int64)
- #upgraded_from_max_message_id : Int64
- #upgraded_from_max_message_id=(upgraded_from_max_message_id : Int64)
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)
#