telegramx.js

ChatMemberUpdated

interface

This object represents changes in the status of a chat member.

Declaration

interface ChatMemberUpdated 

Properties

chatproperty#
chat: Chat;

Chat the user belongs to

dateproperty#
date: number;

Date the change was done in Unix time

fromproperty#
from: User;

Performer of the action, which resulted in the change

new_chat_member: ChatMember;

New information about the chat member

old_chat_member: ChatMember;

Previous information about the chat member

via_join_request?: boolean;

Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator