ChatMemberPromoteOptions Interface
Properties
canChangeInfo boolean
Pass *true* if the administrator can change chat title, photo and other settings
See the codecanDeleteMessages boolean
Pass *true* if the administrator can delete messages of other users
See the codecanEditMessages boolean
Pass *true* if the administrator can edit messages of other users and can pin messages, channels only
See the codecanInviteUsers boolean
Pass *true* if the administrator can invite new users to the chat
See the codecanManageChat boolean
Pass *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
Pass *true* if the user is allowed to create, rename, close, and reopen forum topics, supergroups only
See the codecanPinMessages boolean
Pass *true* if the administrator can pin messages, supergroups only
See the codecanPostMessages boolean
Pass *true* if the administrator can create channel posts, channels only
See the codecanPromoteMembers boolean
Pass *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 him)
See the codecanRestrictMembers boolean
Pass *true* if the administrator can restrict, ban or unban chat members
See the code