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

    Interface InputMediaVoiceNote

    Voice note media object to be sent.

    interface InputMediaVoiceNote {
        caption?: string;
        caption_entities?: MessageEntity[];
        duration?: number;
        media: string;
        parse_mode?: string;
        type: "voice_note";
    }
    Index
    caption?: string

    Caption of the voice note to be sent, 0-1024 characters.

    caption_entities?: MessageEntity[]

    A list of special entities that appear in the caption.

    duration?: number

    Duration of the voice note in seconds.

    media: string

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

    parse_mode?: string

    Mode for parsing entities in the voice note caption.

    type: "voice_note"

    Type of the media, must be 'voice_note'.