Caption of the document to be sent, 0-200 characters.
Short description of the result.
A valid URL for the file.
Unique identifier for this result, 1-64 bytes.
Content of the message to be sent instead of the file.
Mime type of the content of the file, either “application/pdf” or “application/zip”.
Inline keyboard attached to the message.
Thumbnail height.
URL of the thumbnail (jpeg only) for the file.
Thumbnail width.
Title for the result
Type of the result, must be document.
Generated using TypeDoc
Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.