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::chatMemberStatusAdministrator Class Referencefinal

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

Inheritance diagram for td::td_api::chatMemberStatusAdministrator:
td::td_api::ChatMemberStatus td::td_api::Object td::TlObject

Public Member Functions

 chatMemberStatusAdministrator ()
 
 chatMemberStatusAdministrator (bool can_be_edited_, object_ptr< chatAdministratorRights > &&rights_)
 
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

bool can_be_edited_
 True, if the current user can edit the administrator privileges for the called user.
 
object_ptr< chatAdministratorRightsrights_
 Rights of the administrator.
 

Static Public Attributes

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

Detailed Description

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.

Definition at line 14110 of file td_api.h.

Constructor & Destructor Documentation

◆ chatMemberStatusAdministrator() [1/2]

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.

◆ chatMemberStatusAdministrator() [2/2]

td::td_api::chatMemberStatusAdministrator::chatMemberStatusAdministrator ( 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.

Parameters
[in]can_be_edited_True, if the current user can edit the administrator privileges for the called user.
[in]rights_Rights of the administrator.

Member Function Documentation

◆ store()

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

◆ can_be_edited_

bool td::td_api::chatMemberStatusAdministrator::can_be_edited_

True, if the current user can edit the administrator privileges for the called user.

Definition at line 14121 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatMemberStatusAdministrator::ID = -861316634
static

Identifier uniquely determining a type of the object.

Definition at line 14139 of file td_api.h.

◆ rights_

object_ptr<chatAdministratorRights> td::td_api::chatMemberStatusAdministrator::rights_

Rights of the administrator.

Definition at line 14123 of file td_api.h.


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