Class: TD::Types::BasicGroupFullInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/basic_group_full_info.rb

Overview

Contains full information about a basic group.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_commandsArray<TD::Types::BotCommands>

List of commands of bots in the group.

Returns:



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def bot_commands
  @bot_commands
end

#can_hide_membersBoolean

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.

Returns:

  • (Boolean)

    the current value of can_hide_members



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_spamBoolean

True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.

Returns:

  • (Boolean)

    the current value of can_toggle_aggressive_anti_spam



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_idInteger

User identifier of the creator of the group; 0 if unknown.

Returns:

  • (Integer)

    the current value of creator_user_id



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def creator_user_id
  @creator_user_id
end

#descriptionTD::Types::String

Group description. Updated only after the basic group is opened.

Returns:

  • (TD::Types::String)

    the current value of description



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def description
  @description
end

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.

Returns:



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def invite_link
  @invite_link
end

#membersArray<TD::Types::ChatMember>

Group members.

Returns:



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def members
  @members
end

#photoTD::Types::ChatPhoto?

Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.

Returns:



18
19
20
# File 'lib/tdlib/types/basic_group_full_info.rb', line 18

def photo
  @photo
end