InputMediaDocument

General file to be sent

Members

Functions

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

caption
string caption;

Caption of the document to be sent

media
string media;

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet

parse_mode
ParseMode parse_mode;

Parse mode for the caption

thumb
string thumb;

Thumbnail of the file

type
string type;

Type of the result, must be "document"

See Also

Meta