new InputMediaDocument(media, optsopt) → {InputMedia}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
media |
String | InputFile | File ID, document URL or InputFile. |
|
opts |
Object |
<optional> |
Optional Telegram parameters. |
Returns:
- Type
- InputMedia
Example
new InputMediaDocument(media)