Interface CommunityAdministratorRights

Describes rights of the administrator in a community.

interface CommunityAdministratorRights {
    @type: "communityAdministratorRights";
    can_ban_members?: boolean;
    can_change_info?: boolean;
    can_edit_chat_list?: boolean;
    can_manage_community?: boolean;
    can_promote_members?: boolean;
}

Properties

@type: "communityAdministratorRights"
can_ban_members?: boolean

True, if the administrator can ban, or unban community members.

can_change_info?: boolean

True, if the administrator can change the community name, photo, and other settings.

can_edit_chat_list?: boolean

True, if the user can change the chats added to the community.

can_manage_community?: boolean

True, if the user is an administrator. Implied by any other privilege.

can_promote_members?: boolean

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.