Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/manage.ts>ChatMemberUpdated

Type declarations of the Telegram Bot API.
Latest
interface ChatMemberUpdated
import { type ChatMemberUpdated } from "https://deno.land/x/grammy_types@v3.16.0/manage.ts";

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

Properties

chat: Chat

Chat the user belongs to

from: User

Performer of the action, which resulted in the change

date: number

Date the change was done in Unix time

old_chat_member: ChatMember

Previous information about the chat member

new_chat_member: ChatMember

New information about the chat member

optional
via_join_request: boolean

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