Class: TD::Types::ChatType::Supergroup
- Inherits:
-
TD::Types::ChatType
- Object
- Dry::Struct
- Base
- TD::Types::ChatType
- TD::Types::ChatType::Supergroup
- Defined in:
- lib/tdlib/types/chat_type/supergroup.rb
Overview
A supergroup (i.e. a chat with up to GetOption(“supergroup_max_size”) other users), or channel (with unlimited members).
Instance Attribute Summary collapse
-
#is_channel ⇒ Boolean
True, if the supergroup is a channel.
-
#supergroup_id ⇒ Integer
Supergroup or channel identifier.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_channel ⇒ Boolean
True, if the supergroup is a channel.
7 8 9 |
# File 'lib/tdlib/types/chat_type/supergroup.rb', line 7 def is_channel @is_channel end |
#supergroup_id ⇒ Integer
Supergroup or channel identifier.
7 8 9 |
# File 'lib/tdlib/types/chat_type/supergroup.rb', line 7 def supergroup_id @supergroup_id end |