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. |
Returns:
- Type
- InputMedia
Example
new InputMediaAudio(media)