Class: TD::Types::BasicGroup
- Defined in:
- lib/tdlib/types/basic_group.rb
Overview
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
Instance Attribute Summary collapse
-
#id ⇒ Integer
Group identifier.
-
#is_active ⇒ Boolean
True, if the group is active.
-
#member_count ⇒ Integer
Number of members in the group.
-
#status ⇒ TD::Types::ChatMemberStatus
Status of the current user in the group.
-
#upgraded_to_supergroup_id ⇒ Integer
Identifier of the supergroup to which this group was upgraded; 0 if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ Integer
Group identifier.
9 10 11 |
# File 'lib/tdlib/types/basic_group.rb', line 9 def id @id end |
#is_active ⇒ Boolean
True, if the group is active.
9 10 11 |
# File 'lib/tdlib/types/basic_group.rb', line 9 def is_active @is_active end |
#member_count ⇒ Integer
Number of members in the group.
9 10 11 |
# File 'lib/tdlib/types/basic_group.rb', line 9 def member_count @member_count end |
#status ⇒ TD::Types::ChatMemberStatus
Status of the current user in the group.
9 10 11 |
# File 'lib/tdlib/types/basic_group.rb', line 9 def status @status end |
#upgraded_to_supergroup_id ⇒ Integer
Identifier of the supergroup to which this group was upgraded; 0 if none.
9 10 11 |
# File 'lib/tdlib/types/basic_group.rb', line 9 def upgraded_to_supergroup_id @upgraded_to_supergroup_id end |