TDLib
Loading...
Searching...
No Matches
td::td_api::basicGroupFullInfo Class Referencefinal

Inherits td::td_api::Object.

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_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

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.
 

Static Public Attributes

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

Detailed Description

Contains full information about a basic group.

Constructor & Destructor Documentation

◆ basicGroupFullInfo() [1/2]

td::td_api::basicGroupFullInfo::basicGroupFullInfo ( )

Contains full information about a basic group.

◆ basicGroupFullInfo() [2/2]

td::td_api::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_ 
)

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

◆ get_id()

std::int32_t td::td_api::basicGroupFullInfo::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::basicGroupFullInfo::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 td::TlObject.


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