Class: InputMediaAudio

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

new InputMediaAudio(media, optsopt) → {InputMedia}

Parameters:
Name Type Attributes Description
media String | InputFile

File ID, audio URL or InputFile.

opts Object <optional>

Optional Telegram parameters.

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