Module

x/grammy/types.deno.ts>ChatMemberUpdated

The Telegram Bot Framework.
Very Popular
Go to Latest
interface ChatMemberUpdated
import { type ChatMemberUpdated } from "https://dotland.deno.dev/x/grammy@v1.24.1/types.deno.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

import ChatMemberUpdated
import { ChatMemberUpdated } from "https://dotland.deno.dev/x/grammy@v1.24.1/types.deno.ts";