class
TD::Supergroup
- TD::Supergroup
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/supergroup.crConstructors
- .new(id : Int64, username : String, date : Int32, status : TD::ChatMemberStatus, member_count : Int32, restriction_reason : String, has_linked_chat : Bool = false, has_location : Bool = false, sign_messages : Bool = false, is_slow_mode_enabled : Bool = false, is_channel : Bool = false, is_broadcast_group : Bool = false, is_verified : Bool = false, is_scam : Bool = false, is_fake : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #date : Int32
- #date=(date : Int32)
- #has_linked_chat : Bool
- #has_linked_chat=(has_linked_chat : Bool)
- #has_location : Bool
- #has_location=(has_location : Bool)
- #id : Int64
- #id=(id : Int64)
- #is_broadcast_group : Bool
- #is_broadcast_group=(is_broadcast_group : Bool)
- #is_channel : Bool
- #is_channel=(is_channel : Bool)
- #is_fake : Bool
- #is_fake=(is_fake : Bool)
- #is_scam : Bool
- #is_scam=(is_scam : Bool)
- #is_slow_mode_enabled : Bool
- #is_slow_mode_enabled=(is_slow_mode_enabled : Bool)
- #is_verified : Bool
- #is_verified=(is_verified : Bool)
- #member_count : Int32
- #member_count=(member_count : Int32)
- #object_type : String
- #object_type=(object_type : String)
- #restriction_reason : String
- #restriction_reason=(restriction_reason : String)
- #sign_messages : Bool
- #sign_messages=(sign_messages : Bool)
- #status : TD::ChatMemberStatus
- #status=(status : TD::ChatMemberStatus)
- #username : String
- #username=(username : String)
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(id : Int64, username : String, date : Int32, status : TD::ChatMemberStatus, member_count : Int32, restriction_reason : String, has_linked_chat : Bool = false, has_location : Bool = false, sign_messages : Bool = false, is_slow_mode_enabled : Bool = false, is_channel : Bool = false, is_broadcast_group : Bool = false, is_verified : Bool = false, is_scam : Bool = false, is_fake : Bool = false)
#