List of all members | Public Fields | Public Instance Methods | Static Public Attributes
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 Fields

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.
 

Public Instance Methods

 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 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 = -194767217
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ basicGroup() [1/2]

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.

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: