Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BotMemberUpdatedEvent

The bot's chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.

guides

Check official reference.

eventcategory

'action'

eventtype

'bot_member_updated'

Hierarchy

  • EventObject<"action", "bot_member_updated">
  • EventBase
  • ChatMember
  • ChatMemberUpdated
    • BotMemberUpdatedEvent

Index

Properties

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

Date the change was done

newStatus: MemberStatus
oldStatus: MemberStatus
platform: "telegram"
type: "bot_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