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

    Interface InputMediaAnimation

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

    interface InputMediaAnimation {
        caption?: string;
        caption_entities?: MessageEntity[];
        duration?: number;
        has_spoiler?: boolean;
        height?: number;
        media: string | InputFile;
        parse_mode?: ParseMode;
        show_caption_above_media?: boolean;
        thumbnail?: string | InputFile;
        type: "animation";
        width?: number;
    }
    Index
    caption?: string

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

    caption_entities?: MessageEntity[]

    List of special entities that appear in the caption.

    duration?: number

    Animation duration in seconds.

    has_spoiler?: boolean

    Pass True, if the animation needs to be covered with a spoiler animation.

    height?: number

    Animation height.

    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 animation caption.

    show_caption_above_media?: boolean

    Pass True, if the caption must be shown above the message media.

    thumbnail?: string | InputFile

    Thumbnail of the file sent.

    type: "animation"

    Type of the result, must be 'animation'.

    width?: number

    Animation width.