{
  "meta": {},
  "group": {
    "title": "Inline mode",
    "anchor": "inline-mode"
  },
  "object": {
    "anchor": "inlinequeryresultdocument",
    "name": "InlineQueryResultDocument",
    "description": "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.",
    "html_description": "<p>Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the file. Currently, only <strong>.PDF</strong> and <strong>.ZIP</strong> files can be sent using this method.</p>",
    "rst_description": "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.",
    "annotations": [
      {
        "type": "String",
        "description": "Type of the result, must be document",
        "html_description": "<td>Type of the result, must be <em>document</em></td>",
        "rst_description": "Type of the result, must be *document*\n",
        "name": "type",
        "required": true
      },
      {
        "type": "String",
        "description": "Unique identifier for this result, 1-64 bytes",
        "html_description": "<td>Unique identifier for this result, 1-64 bytes</td>",
        "rst_description": "Unique identifier for this result, 1-64 bytes\n",
        "name": "id",
        "required": true
      },
      {
        "type": "String",
        "description": "Title for the result",
        "html_description": "<td>Title for the result</td>",
        "rst_description": "Title for the result\n",
        "name": "title",
        "required": true
      },
      {
        "type": "String",
        "description": "Caption of the document to be sent, 0-1024 characters after entities parsing",
        "html_description": "<td><em>Optional</em>. Caption of the document to be sent, 0-1024 characters after entities parsing</td>",
        "rst_description": "*Optional*. Caption of the document to be sent, 0-1024 characters after entities parsing\n",
        "name": "caption",
        "required": false
      },
      {
        "type": "String",
        "description": "Mode for parsing entities in the document caption. See formatting options for more details.",
        "html_description": "<td><em>Optional</em>. Mode for parsing entities in the document caption. See <a href=\"#formatting-options\">formatting options</a> for more details.</td>",
        "rst_description": "*Optional*. Mode for parsing entities in the document caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.\n",
        "name": "parse_mode",
        "required": false
      },
      {
        "type": "Array of MessageEntity",
        "description": "List of special entities that appear in the caption, which can be specified instead of parse_mode",
        "html_description": "<td><em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em></td>",
        "rst_description": "*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
        "name": "caption_entities",
        "required": false
      },
      {
        "type": "String",
        "description": "A valid URL for the file",
        "html_description": "<td>A valid URL for the file</td>",
        "rst_description": "A valid URL for the file\n",
        "name": "document_url",
        "required": true
      },
      {
        "type": "String",
        "description": "MIME type of the content of the file, either 'application/pdf' or 'application/zip'",
        "html_description": "<td>MIME type of the content of the file, either &#8220;application/pdf&#8221; or &#8220;application/zip&#8221;</td>",
        "rst_description": "MIME type of the content of the file, either 'application/pdf' or 'application/zip'\n",
        "name": "mime_type",
        "required": true
      },
      {
        "type": "String",
        "description": "Short description of the result",
        "html_description": "<td><em>Optional</em>. Short description of the result</td>",
        "rst_description": "*Optional*. Short description of the result\n",
        "name": "description",
        "required": false
      },
      {
        "type": "InlineKeyboardMarkup",
        "description": "Inline keyboard attached to the message",
        "html_description": "<td><em>Optional</em>. Inline keyboard attached to the message</td>",
        "rst_description": "*Optional*. Inline keyboard attached to the message\n",
        "name": "reply_markup",
        "required": false
      },
      {
        "type": "InputMessageContent",
        "description": "Content of the message to be sent instead of the file",
        "html_description": "<td><em>Optional</em>. Content of the message to be sent instead of the file</td>",
        "rst_description": "*Optional*. Content of the message to be sent instead of the file\n",
        "name": "input_message_content",
        "required": false
      },
      {
        "type": "String",
        "description": "URL of the thumbnail (JPEG only) for the file",
        "html_description": "<td><em>Optional</em>. URL of the thumbnail (JPEG only) for the file</td>",
        "rst_description": "*Optional*. URL of the thumbnail (JPEG only) for the file\n",
        "name": "thumbnail_url",
        "required": false
      },
      {
        "type": "Integer",
        "description": "Thumbnail width",
        "html_description": "<td><em>Optional</em>. Thumbnail width</td>",
        "rst_description": "*Optional*. Thumbnail width\n",
        "name": "thumbnail_width",
        "required": false
      },
      {
        "type": "Integer",
        "description": "Thumbnail height",
        "html_description": "<td><em>Optional</em>. Thumbnail height</td>",
        "rst_description": "*Optional*. Thumbnail height\n",
        "name": "thumbnail_height",
        "required": false
      }
    ],
    "category": "types"
  }
}
