telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface InputMediaDocument

    Represents a general file to be sent as part of a media group or edited media.

    interface InputMediaDocument {
        caption?: string;
        caption_entities?: MessageEntity[];
        disable_content_type_detection?: boolean;
        media: string | InputFile;
        parse_mode?: ParseMode;
        thumbnail?: string | InputFile;
        type: "document";
    }
    Index
    caption?: string

    Caption of the document to be sent, 0-1024 characters after entities parsing.

    caption_entities?: MessageEntity[]

    List of special entities that appear in the caption.

    disable_content_type_detection?: boolean

    Disables automatic server-side content type detection for files.

    media: string | InputFile

    File to send. Pass a file_id to send a file that exists on the Telegram servers, an HTTP URL, or upload using InputFile.

    parse_mode?: ParseMode

    Mode for parsing entities in the document caption.

    thumbnail?: string | InputFile

    Thumbnail of the file sent.

    type: "document"

    Type of the result, must be 'document'.