Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChatMemberUpdatedEvent

A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates.

guides

Check official reference.

eventcategory

'action'

eventtype

'chat_member_updated'

Hierarchy

  • EventObject<"action", "chat_member_updated">
  • EventBase
  • ChatMember
  • ChatMemberUpdated
    • ChatMemberUpdatedEvent

Index

Properties

botId: number
category: "action"
channel: TelegramChat
chatMember: any
date: Date

Date the change was done

newStatus: MemberStatus
oldStatus: MemberStatus
platform: "telegram"
type: "chat_member_updated"
updateId: string

The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.

updatedUser: TelegramUser

The updated chat member

Generated using TypeDoc