Class: TD::Types::BasicGroupFullInfo
- Defined in:
- lib/tdlib/types/basic_group_full_info.rb
Overview
Contains full information about a basic group.
Instance Attribute Summary collapse
-
#bot_commands ⇒ Array<TD::Types::BotCommands>
List of commands of bots in the group.
-
#can_hide_members ⇒ Boolean
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators after upgrading the basic group to a supergroup.
-
#can_toggle_aggressive_anti_spam ⇒ Boolean
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
-
#creator_user_id ⇒ Integer
User identifier of the creator of the group; 0 if unknown.
-
#description ⇒ TD::Types::String
Group description.
-
#invite_link ⇒ TD::Types::ChatInviteLink?
Primary invite link for this group; may be null.
-
#members ⇒ Array<TD::Types::ChatMember>
Group members.
-
#photo ⇒ TD::Types::ChatPhoto?
Chat photo; may be null if empty or unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bot_commands ⇒ Array<TD::Types::BotCommands>
List of commands of bots in the group.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def bot_commands @bot_commands end |
#can_hide_members ⇒ Boolean
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators after upgrading the basic group to a supergroup.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def can_hide_members @can_hide_members end |
#can_toggle_aggressive_anti_spam ⇒ Boolean
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def can_toggle_aggressive_anti_spam @can_toggle_aggressive_anti_spam end |
#creator_user_id ⇒ Integer
User identifier of the creator of the group; 0 if unknown.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def creator_user_id @creator_user_id end |
#description ⇒ TD::Types::String
Group description. Updated only after the basic group is opened.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def description @description end |
#invite_link ⇒ TD::Types::ChatInviteLink?
Primary invite link for this group; may be null. For chat administrators with can_invite_users right only. Updated only after the basic group is opened.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def invite_link @invite_link end |
#members ⇒ Array<TD::Types::ChatMember>
Group members.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def members @members end |
#photo ⇒ TD::Types::ChatPhoto?
Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
18 19 20 |
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18 def photo @photo end |