ChatMemberUpdated
This object represents changes in the status of a chat member.
fields
| field | type | required | description |
|---|---|---|---|
chat | Chat | required | Chat the user belongs to |
from | User | required | Performer of the action, which resulted in the change |
date | number | required | Date the change was done in Unix time |
old_chat_member | ChatMember | required | Previous information about the chat member |
new_chat_member | ChatMember | required | New information about the chat member |
invite_link | ChatInviteLink | optional | Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only |
via_join_request | boolean | optional | 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 |
via_chat_folder_invite_link | boolean | optional | Optional. True, if the user joined the chat via a chat folder invite link |
import
import type { ChatMemberUpdated } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#chatmemberupdated