|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| basicGroup () | |
| basicGroup (int53 id_, int32 member_count_, object_ptr< ChatMemberStatus > &&status_, bool is_active_, int53 upgraded_to_supergroup_id_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int53 | id_ |
| Group identifier. | |
| int32 | member_count_ |
| Number of members in the group. | |
| object_ptr< ChatMemberStatus > | status_ |
| 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. | |
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
| 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).
| 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).
| [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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.