Class: InputMediaDocument

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

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.

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