Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MigrateFromChatEvent

The supergroup has been migrated from a group with the specified identifier.

guides

Check official reference.

eventcategory

'action'

eventtype

'migrate_from_chat'

Hierarchy

  • EventObject<"action", "migrate_from_chat">
  • EventBase
  • Message
  • MessageDetail
  • MigrateFromChatId
    • MigrateFromChatEvent

Index

Properties

authorSignature?: string

Signature of the post author for messages in channels

botId: number
category: "action"
channel: TelegramChat
chat: RawChat

Conversation the message belongs to

connectedWebsite?: string

The domain name of the website on which the user has logged in.

date?: number

Date the message was sent in Unix time

editDate?: number

Date the message was last edited in Unix time

forwardDate?: number

For forwarded messages, date the original message was sent in Unix time

forwardFrom?: RawUser

For forwarded messages, sender of the original message

forwardFromChat?: RawChat

For messages forwarded from channels, information about the original channel

forwardFromMessageId?: number

For messages forwarded from channels, identifier of the original message in the channel

forwardSenderName?: string

Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages

forwardSignature?: string

For messages forwarded from channels, signature of the post author if present

from?: RawUser

Raw user object represent the sender, empty for messages sent to channels

mediaGroupId?: string

The unique identifier of a media message group this message belongs to

message: any
messageId: number

Unique message identifier inside this chat

migrateFromChatId: number

This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.

passportData?: any

Telegram Passport data

platform: "telegram"
replyMarkup?: any

Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.

replyToMessage?: any

For replies, the original message. Note that the Message object in this field will not contain furth

type: "migrate_from_chat"
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.

user: TelegramUser | TelegramChatSender
viaBot?: RawUser

Bot through which the message was sent

Generated using TypeDoc