Interface UpdateChatMember

User rights changed in a chat; for bots only. Subtype of Update.

interface UpdateChatMember {
    @type: "updateChatMember";
    actor_user_id: number;
    chat_id: number;
    date: number;
    invite_link: ChatInviteLink;
    new_chat_member: ChatMember;
    old_chat_member: ChatMember;
    via_chat_folder_invite_link?: boolean;
    via_join_request?: boolean;
}

Properties

@type: "updateChatMember"
actor_user_id: number

Identifier of the user, changing the rights.

chat_id: number

Chat identifier.

date: number

Point in time (Unix timestamp) when the user rights were changed.

invite_link: ChatInviteLink

If user has joined the chat using an invite link, the invite link; may be null.

new_chat_member: ChatMember

New chat member.

old_chat_member: ChatMember

Previous chat member.

via_chat_folder_invite_link?: boolean

True, if the user has joined the chat using an invite link for a chat folder.

via_join_request?: boolean

True, if the user has joined the chat after sending a join request and being approved by an administrator.