Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

assetTag?: string

The asset tag for TelegramAssetsManager to save the uploaded file id with. This prop only annotates on the created job, you have to add {@link saveUplodedFile} middleware to make automatical saving happen.

caption?: MachinatNode

File caption (may also be used when resending photos by file_id), 0-1024 characters after entities parsing

disableNotification?: boolean

Sends the message silently. Users will receive a notification with no sound.

duration?: number

Duration of the audio in seconds

fileData?: string | Buffer | ReadableStream

The file content data when uploading the file directly.

fileId?: string

The file id already stored somewhere on the Telegram servers.

Metadata about fileData if needed (while using Buffer).

parseMode?: TelegramParseMode

Mode for parsing entities in the caption. Default to 'HTML'.

performer?: string

Performer

replyMarkup?: MachinatNode

One ReplyMarkup element for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

replyToMessageId?: number

If the message is a reply, ID of the original message

thumbnailFileData?: Buffer | ReadableStream

Thumbnail file data. Can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320.

thumbnailFileInfo?: UploadingFileInfo

Metadata about the uploading thumbnailFileData if needed (while using Buffer).

title?: string

Track name

url?: string

HTTP URL for the file to be sent.

Generated using TypeDoc