InputMediaAnimation

Animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent

Members

Functions

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

caption
string caption;

Caption of the animation to be sent

duration
Duration duration;

Animation duration

height
int height;

Animation height

media
string media;

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet

parse_mode
ParseMode parse_mode;

Parse mode for the caption

thumb
string thumb;

Thumbnail of the file

type
string type;

Type of the result, must be "animation"

width
int width;

Animation width

See Also

Meta