List of all members | Public Fields | Public Instance Methods | Static Public Attributes
basicGroupFullInfo Class Referencefinal

Inherits Object.

Description

Contains full information about a basic group.

Public Fields

object_ptr< chatPhotophoto_
 Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
 
string description_
 Group description. Updated only after the basic group is opened.
 
int53 creator_user_id_
 User identifier of the creator of the group; 0 if unknown.
 
array< object_ptr< chatMember > > members_
 Group members.
 
bool can_hide_members_
 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.
 
bool can_toggle_aggressive_anti_spam_
 True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
 
object_ptr< chatInviteLinkinvite_link_
 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.
 
array< object_ptr< botCommands > > bot_commands_
 List of commands of bots in the group.
 

Public Instance Methods

 basicGroupFullInfo ()
 
 basicGroupFullInfo (object_ptr< chatPhoto > &&photo_, string const &description_, int53 creator_user_id_, array< object_ptr< chatMember >> &&members_, bool can_hide_members_, bool can_toggle_aggressive_anti_spam_, object_ptr< chatInviteLink > &&invite_link_, array< object_ptr< botCommands >> &&bot_commands_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1879035520
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ basicGroupFullInfo() [1/2]

Contains full information about a basic group.

◆ basicGroupFullInfo() [2/2]

basicGroupFullInfo ( object_ptr< chatPhoto > &&  photo_,
string const &  description_,
int53  creator_user_id_,
array< object_ptr< chatMember >> &&  members_,
bool  can_hide_members_,
bool  can_toggle_aggressive_anti_spam_,
object_ptr< chatInviteLink > &&  invite_link_,
array< object_ptr< botCommands >> &&  bot_commands_ 
)

Contains full information about a basic group.

Parameters
[in]photo_Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
[in]description_Group description. Updated only after the basic group is opened.
[in]creator_user_id_User identifier of the creator of the group; 0 if unknown.
[in]members_Group members.
[in]can_hide_members_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.
[in]can_toggle_aggressive_anti_spam_True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
[in]invite_link_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.
[in]bot_commands_List of commands of bots in the group.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: