MadelineProtoDocs/docs/TD_docs/constructors/chatMemberStatusAdministrator.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.9 KiB

title description image
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 https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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