tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::basicGroup Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::basicGroup:
td::td_api::Object td::TlObject

Public Member Functions

 basicGroup ()
 
 basicGroup (int53 id_, int32 member_count_, object_ptr< ChatMemberStatus > &&status_, bool is_active_, int53 upgraded_to_supergroup_id_)
 
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

int53 id_
 Group identifier.
 
int32 member_count_
 Number of members in the group.
 
object_ptr< ChatMemberStatusstatus_
 Status of the current user in the group.
 
bool is_active_
 True, if the group is active.
 
int53 upgraded_to_supergroup_id_
 Identifier of the supergroup to which this group was upgraded; 0 if none.
 

Static Public Attributes

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

Detailed Description

Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).

Definition at line 4017 of file td_api.h.

Constructor & Destructor Documentation

◆ basicGroup() [1/2]

td::td_api::basicGroup::basicGroup ( )

Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).

◆ basicGroup() [2/2]

td::td_api::basicGroup::basicGroup ( int53  id_,
int32  member_count_,
object_ptr< ChatMemberStatus > &&  status_,
bool  is_active_,
int53  upgraded_to_supergroup_id_ 
)

Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).

Parameters
[in]id_Group identifier.
[in]member_count_Number of members in the group.
[in]status_Status of the current user in the group.
[in]is_active_True, if the group is active.
[in]upgraded_to_supergroup_id_Identifier of the supergroup to which this group was upgraded; 0 if none.

Member Function Documentation

◆ store()

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

Member Data Documentation

◆ ID

const std::int32_t td::td_api::basicGroup::ID = -194767217
static

Identifier uniquely determining a type of the object.

Definition at line 4055 of file td_api.h.

◆ id_

int53 td::td_api::basicGroup::id_

Group identifier.

Definition at line 4028 of file td_api.h.

◆ is_active_

bool td::td_api::basicGroup::is_active_

True, if the group is active.

Definition at line 4034 of file td_api.h.

◆ member_count_

int32 td::td_api::basicGroup::member_count_

Number of members in the group.

Definition at line 4030 of file td_api.h.

◆ status_

object_ptr<ChatMemberStatus> td::td_api::basicGroup::status_

Status of the current user in the group.

Definition at line 4032 of file td_api.h.

◆ upgraded_to_supergroup_id_

int53 td::td_api::basicGroup::upgraded_to_supergroup_id_

Identifier of the supergroup to which this group was upgraded; 0 if none.

Definition at line 4036 of file td_api.h.


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