Interface ChatEventMemberPromoted

A chat member has gained/lost administrator status, or the list of their administrator privileges has changed. Subtype of ChatEventAction.

interface ChatEventMemberPromoted {
    @type: "chatEventMemberPromoted";
    new_status: ChatMemberStatus;
    old_status: ChatMemberStatus;
    user_id: number;
}

Properties

@type: "chatEventMemberPromoted"
new_status: ChatMemberStatus

New status of the chat member.

old_status: ChatMemberStatus

Previous status of the chat member.

user_id: number

Affected chat member user identifier.