telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface ChatMemberUpdated

    Represents changes in the status of a chat member.

    interface ChatMemberUpdated {
        chat: Chat;
        date: number;
        from: User;
        invite_link?: ChatInviteLink;
        new_chat_member: ChatMember;
        old_chat_member: ChatMember;
        via_chat_folder_invite_link?: boolean;
        via_join_request?: boolean;
    }
    Index
    chat: Chat

    Chat, which member status was updated.

    date: number

    Date the change was done in Unix time.

    from: User

    Performer of the action, which resulted in the change.

    invite_link?: ChatInviteLink

    Chat invite link, which was used by the user to join the chat.

    new_chat_member: ChatMember

    New information about the chat member.

    old_chat_member: ChatMember

    Previous information about the chat member.

    via_chat_folder_invite_link?: boolean

    True, if the user joined the chat via a chat folder invite link.

    via_join_request?: boolean

    True, if the user joined the chat after sending a direct join request and being approved.