{
  "meta": {},
  "group": {
    "title": "Available types",
    "anchor": "available-types"
  },
  "object": {
    "anchor": "file",
    "name": "File",
    "description": "This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.\nThe maximum file size to download is 20 MB",
    "html_description": "<p>This object represents a file ready to be downloaded. The file can be downloaded via the link <code>https://api.telegram.org/file/bot&lt;token&gt;/&lt;file_path&gt;</code>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling <a href=\"#getfile\">getFile</a>.</p><blockquote>\n<p>The maximum file size to download is 20 MB</p>\n</blockquote>",
    "rst_description": "This object represents a file ready to be downloaded. The file can be downloaded via the link :code:`https://api.telegram.org/file/bot<token>/<file_path>`. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling :class:`aiogram.methods.get_file.GetFile`.\n\n The maximum file size to download is 20 MB",
    "annotations": [
      {
        "type": "String",
        "description": "Identifier for this file, which can be used to download or reuse the file",
        "html_description": "<td>Identifier for this file, which can be used to download or reuse the file</td>",
        "rst_description": "Identifier for this file, which can be used to download or reuse the file\n",
        "name": "file_id",
        "required": true
      },
      {
        "type": "String",
        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
        "html_description": "<td>Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.</td>",
        "rst_description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.\n",
        "name": "file_unique_id",
        "required": true
      },
      {
        "type": "Integer",
        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
        "html_description": "<td><em>Optional</em>. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.</td>",
        "rst_description": "*Optional*. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.\n",
        "name": "file_size",
        "required": false
      },
      {
        "type": "String",
        "description": "File path. Use https://api.telegram.org/file/bot<token>/<file_path> to get the file.",
        "html_description": "<td><em>Optional</em>. File path. Use <code>https://api.telegram.org/file/bot&lt;token&gt;/&lt;file_path&gt;</code> to get the file.</td>",
        "rst_description": "*Optional*. File path. Use :code:`https://api.telegram.org/file/bot<token>/<file_path>` to get the file.\n",
        "name": "file_path",
        "required": false
      }
    ],
    "category": "types"
  }
}
