Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VideoNoteMessageEvent

Message is a video note.

guides

Check official reference.

eventcategory

'message' | 'edit_message'

eventtype

'video_note'

Hierarchy

  • EventObject<"message" | "edit_message", "video_note">
  • EventBase
  • Message
  • MessageDetail
  • VideoNote
  • FileDetail
    • VideoNoteMessageEvent

Index

Properties

authorSignature?: string

Signature of the post author for messages in channels

botId: number
category: "message" | "edit_message"
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

duration: number

Duration of the video in seconds as defined by sender

editDate?: number

Date the message was last edited in Unix time

file: any
fileId: string

Identifier for this file, which can be used to download or reuse the file

fileName?: string

Original filename as defined by sender if available

fileSize?: number

File size

fileUniqueId: string

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

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

length: number

Video width and height (diameter of the video message) as defined by sender

mediaGroupId?: string

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

message: any
messageId: number

Unique message identifier inside this chat

mimeType?: string

MIME type of the file as defined by sender

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

thumb?: any

File thumbnail as defined by sender if available

type: "video_note"
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

videoNote: any

Video note object.

Generated using TypeDoc