Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>_InputMediaCommon

Cross-runtime JavaScript library for building Telegram clients
Latest
interface _InputMediaCommon
import { type _InputMediaCommon } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

Properties

optional
fileName: string

The file name to assign if applicable.

optional
mimeType: string

The mime type to assign if applicable.

optional
chunkSize: number

Size of each upload chunk in bytes.

optional
signal: AbortSignal

Upload abort signal.

optional
caption: string

The caption of the media.

optional
captionEntities: MessageEntity[]

The entities of media's caption.

optional
parseMode: ParseMode

Override the parse mode used for the media's caption.