OptionaldescriptionDescription of the result
Unique ID of the result
The file itself. When using URL, only PDF and ZIP are supported.
Can be a URL, a TDLib and Bot API compatible File ID, or a TL object representing either of them.
OptionalmessageMessage to send when the result is selected.
By default, is automatically generated, and details about how it is generated can be found in subclasses' description
OptionalmimeMIME type of the file.
Due to some Telegram limitation, you can only send
PDF and ZIP files from URL
(application/pdf and application/zip MIMEs respectively).
Must be provided if media is a URL
OptionalthumbPhoto thumbnail URL (must be jpeg), only applicable in case media is a URL
Title of the result
Inline result containing a document
If
messageis not provided, InputInlineMessageMedia is used with empty caption.