Interface ChatMember

Describes a user or a chat as a member of another chat.

interface ChatMember {
    @type: "chatMember";
    inviter_user_id: number;
    joined_chat_date: number;
    member_id: MessageSender;
    status: ChatMemberStatus;
}

Properties

@type: "chatMember"
inviter_user_id: number

Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.

joined_chat_date: number

Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.

member_id: MessageSender

Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.

Status of the member in the chat.