ChatAdministratorRights Interface
Properties
canChangeInfo boolean
*true*, if the user is allowed to change the chat title, photo and other settings
See the codecanDeleteMessages boolean
*true*, if the administrator can delete messages of other users
See the codecanEditMessages boolean
*true*, if the administrator can edit messages of other users and can pin messages; channels only
See the codecanManageChat boolean
*true*, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege
See the codecanManageTopics boolean
*true*, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
See the codecanPinMessages boolean
*true*, if the user is allowed to pin messages; groups and supergroups only
See the codecanPostMessages boolean
*true*, if the administrator can post in the channel; channels only
See the codecanPromoteMembers boolean
*true*, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user)
See the codecanRestrictMembers boolean
*true*, if the administrator can restrict, ban or unban chat members
See the code