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

Inherits Object.

Description

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

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 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

int53 id_
 Group identifier.
bool is_active_
 True, if the group is active.
int32 member_count_
 Number of members in the group.
object_ptr< ChatMemberStatus > status_
 Status of the current user in the group.
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.

Constructor & Destructor Documentation

◆ basicGroup() [1/2]

basicGroup ( )

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

◆ basicGroup() [2/2]

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