CommunityAdministratorRights¶
Describes rights of the administrator in a community
CommunityAdministratorRights(
can_manage_community: Bool,
can_change_info: Bool,
can_edit_chat_list: Bool,
can_promote_members: Bool,
can_ban_members: Bool
) → CommunityAdministratorRights
can_manage_community¶
Bool
True, if the user is an administrator. Implied by any other privilege
can_change_info¶
Bool
True, if the administrator can change the community name, photo, and other settings
can_edit_chat_list¶
Bool
True, if the user can change the chats added to the community
can_promote_members¶
Bool
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
can_ban_members¶
Bool
True, if the administrator can ban, or unban community members