TDLib
|
Inherits td::td_api::ChatMemberStatus.
Public Member Functions | |
chatMemberStatusAdministrator () | |
chatMemberStatusAdministrator (string const &custom_title_, bool can_be_edited_, object_ptr< chatAdministratorRights > &&rights_) | |
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 | |
string | custom_title_ |
A custom title of the administrator; 0-16 characters without emojis; applicable to supergroups only. | |
bool | can_be_edited_ |
True, if the current user can edit the administrator privileges for the called user. | |
object_ptr< chatAdministratorRights > | rights_ |
Rights of the administrator. | |
Static Public Attributes | |
static const std::int32_t | ID = -70024163 |
Identifier uniquely determining a type of the object. | |
The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats. In supergroups and channels, there are more detailed options for administrator privileges.
td::td_api::chatMemberStatusAdministrator::chatMemberStatusAdministrator | ( | ) |
The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats. In supergroups and channels, there are more detailed options for administrator privileges.
td::td_api::chatMemberStatusAdministrator::chatMemberStatusAdministrator | ( | string const & | custom_title_, |
bool | can_be_edited_, | ||
object_ptr< chatAdministratorRights > && | rights_ | ||
) |
The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats. In supergroups and channels, there are more detailed options for administrator privileges.
[in] | custom_title_ | A custom title of the administrator; 0-16 characters without emojis; applicable to supergroups only. |
[in] | can_be_edited_ | True, if the current user can edit the administrator privileges for the called user. |
[in] | rights_ | Rights of the administrator. |
|
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.