TDLib
Loading...
Searching...
No Matches
basicGroupFullInfo Class Referencefinal

Inherits Object.

Description

Contains full information about a basic group.

Public Member Functions

 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 Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

array< object_ptr< botCommands > > bot_commands_
 List of commands of bots in the group.
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.
int53 creator_user_id_
 User identifier of the creator of the group; 0 if unknown.
string description_
 Group description. Updated only after the basic group is opened.
object_ptr< chatInviteLink > 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.
array< object_ptr< chatMember > > members_
 Group members.
object_ptr< chatPhoto > photo_
 Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ basicGroupFullInfo() [1/2]

basicGroupFullInfo ( )

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.

Member Function 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: