Available types

ChatMemberUpdated

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

fields

fieldtyperequireddescription
chatChatrequiredChat the user belongs to
fromUserrequiredPerformer of the action, which resulted in the change
datenumberrequiredDate the change was done in Unix time
old_chat_memberChatMemberrequiredPrevious information about the chat member
new_chat_memberChatMemberrequiredNew information about the chat member
invite_linkChatInviteLinkoptionalOptional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only
via_join_requestbooleanoptionalOptional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator
via_chat_folder_invite_linkbooleanoptionalOptional. True, if the user joined the chat via a chat folder invite link

import

types.ts
import type { ChatMemberUpdated } from "@yaebal/types";

used by

types