1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 17:46:57 +01:00
MadelineProto/docs/TD_docs/constructors/chatMemberStatusAdministrator.md
2017-08-25 15:05:53 +02:00

1.8 KiB

title description
chatMemberStatusAdministrator User is a chat member with some additional priviledges. In groups, administrators can edit and delete other messages, add new members and ban unpriviledged members

Constructor: chatMemberStatusAdministrator

Back to constructors index

User is a chat member with some additional priviledges. In groups, administrators can edit and delete other messages, add new members and ban unpriviledged members

Attributes:

Name Type Required Description
can_be_edited Bool Yes True, if current user has rights to edit administrator privileges of that user
can_change_info Bool Yes True, if the administrator can change chat title, photo and other settings
can_post_messages Bool Yes True, if the administrator can create channel posts, broadcast channels only
can_edit_messages Bool Yes True, if the administrator can edit messages of other users, broadcast channels only
can_delete_messages Bool Yes True, if the administrator can delete messages of other users
can_invite_users Bool Yes True, if the administrator can invite new users to the chat
can_restrict_members Bool Yes True, if the administrator can restrict, ban or unban chat members
can_pin_messages Bool Yes True, if the administrator can pin messages, supergroup channels only
can_promote_members Bool Yes True, if the administrator can add new administrators with a subset of his own privileges or demote administrators directly or indirectly promoted by him

Type: ChatMemberStatus