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

    Interface InputFile

    Represents a binary file or file payload to be uploaded to the Telegram Bot API.

    interface InputFile {
        contentType?: string;
        data: string | ArrayBuffer | Uint8Array<ArrayBufferLike> | Blob;
        filename?: string;
    }
    Index
    contentType?: string

    Optional MIME content type (e.g. image/png, application/pdf).

    data: string | ArrayBuffer | Uint8Array<ArrayBufferLike> | Blob

    Binary data buffer, Blob, or file path/string.

    filename?: string

    Optional name of the file to attach.