Interface ChatMemberStatusAdministrator

The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats. In supergroups and channels, there are more detailed options for administrator privileges. Subtype of ChatMemberStatus.

interface ChatMemberStatusAdministrator {
    @type: "chatMemberStatusAdministrator";
    can_be_edited?: boolean;
    custom_title: string;
    rights: ChatAdministratorRights;
}

Properties

@type: "chatMemberStatusAdministrator"
can_be_edited?: boolean

True, if the current user can edit the administrator privileges for the called user.

custom_title: string

A custom title of the administrator; 0-16 characters without emoji; applicable to supergroups only.

Rights of the administrator.