|
TDLib
|
Inherits Object.
Describes rights of the administrator in a community.
Public Member Functions | |
| communityAdministratorRights () | |
| communityAdministratorRights (bool can_manage_community_, bool can_change_info_, bool can_edit_chat_list_, bool can_promote_members_, bool can_ban_members_) | |
| 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 |
Static Public Attributes | |
| static const std::int32_t | ID = -954068218 |
| Identifier uniquely determining a type of the object. | |
| communityAdministratorRights | ( | ) |
Describes rights of the administrator in a community.
| communityAdministratorRights | ( | bool | can_manage_community_, |
| bool | can_change_info_, | ||
| bool | can_edit_chat_list_, | ||
| bool | can_promote_members_, | ||
| bool | can_ban_members_ ) |
Describes rights of the administrator in a community.
| [in] | can_manage_community_ | True, if the user is an administrator. Implied by any other privilege. |
| [in] | can_change_info_ | True, if the administrator can change the community name, photo, and other settings. |
| [in] | can_edit_chat_list_ | True, if the user can change the chats added to the community. |
| [in] | can_promote_members_ | True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that were directly or indirectly promoted by them. |
| [in] | can_ban_members_ | True, if the administrator can ban, or unban community members. |
|
finalvirtual |