Class: InputMedia

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

new InputMedia(type, media, optsopt) → {InputMedia}

Parameters:
Name Type Attributes Description
type String
media String | InputFile

File ID, URL or InputFile.

opts Object <optional>

Optional Telegram parameters.

Source:
See:
Returns:
Type
InputMedia
Example
new InputMedia(type, media)