Interface InputAnimation

An animation to be sent.

interface InputAnimation {
    @type: "inputAnimation";
    added_sticker_file_ids: number[];
    animation: InputFile;
    duration: number;
    height: number;
    thumbnail: InputThumbnail;
    width: number;
}

Properties

@type: "inputAnimation"
added_sticker_file_ids: number[]

File identifiers of the stickers added to the animation, if applicable.

animation: InputFile

Animation file to be sent.

duration: number

Duration of the animation, in seconds; may be replaced by the server.

height: number

Height of the animation; may be replaced by the server.

thumbnail: InputThumbnail

Animation thumbnail; pass null to skip thumbnail uploading.

width: number

Width of the animation; may be replaced by the server.