Class: InputMediaAnimation

bot-utils~InputMediaAnimation(media, optsopt) → {InputMedia}

new InputMediaAnimation(media, optsopt) → {InputMedia}

Parameters:
Name Type Attributes Description
media String | InputFile

File ID, animation URL or InputFile.

opts Object <optional>

Optional Telegram parameters.

Source:
See:
Returns:
Type
InputMedia
Example
new InputMediaAnimation(media)