mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refresh from docs
This commit is contained in:
parent
71b4beb360
commit
6dc02c0bfa
90 changed files with 760 additions and 1836 deletions
|
|
@ -58,7 +58,7 @@
|
|||
"description": "Animation thumbnail as defined by sender",
|
||||
"html_description": "<td><em>Optional</em>. Animation thumbnail as defined by sender</td>",
|
||||
"rst_description": "*Optional*. Animation thumbnail as defined by sender\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -84,14 +84,6 @@
|
|||
"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": "PhotoSize",
|
||||
"description": "Animation thumbnail as defined by the sender",
|
||||
"html_description": "<td><em>Optional</em>. Animation thumbnail as defined by the sender</td>",
|
||||
"rst_description": "*Optional*. Animation thumbnail as defined by the sender\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -77,14 +77,6 @@
|
|||
"name": "file_size",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Thumbnail of the album cover to which the music file belongs",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the album cover to which the music file belongs</td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the album cover to which the music file belongs\n",
|
||||
"name": "thumb",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Thumbnail of the album cover to which the music file belongs",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Upcoming update",
|
||||
"anchor": "upcoming-update"
|
||||
"title": "Available types",
|
||||
"anchor": "available-types"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "botdescription",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Upcoming update",
|
||||
"anchor": "upcoming-update"
|
||||
"title": "Available types",
|
||||
"anchor": "available-types"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "botshortdescription",
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"description": "Document thumbnail as defined by sender",
|
||||
"html_description": "<td><em>Optional</em>. Document thumbnail as defined by sender</td>",
|
||||
"rst_description": "*Optional*. Document thumbnail as defined by sender\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -60,14 +60,6 @@
|
|||
"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": "PhotoSize",
|
||||
"description": "Document thumbnail as defined by the sender",
|
||||
"html_description": "<td><em>Optional</em>. Document thumbnail as defined by the sender</td>",
|
||||
"rst_description": "*Optional*. Document thumbnail as defined by the sender\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -77,30 +77,6 @@
|
|||
"name": "description",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
"html_description": "<td><em>Optional</em>. Url of the thumbnail for the result</td>",
|
||||
"rst_description": "*Optional*. Url of the thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail width",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail width</td>",
|
||||
"rst_description": "*Optional*. Thumbnail width\n",
|
||||
"name": "thumb_width",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail height",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail height</td>",
|
||||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumb_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
|
|
|
|||
|
|
@ -77,30 +77,6 @@
|
|||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
"html_description": "<td><em>Optional</em>. Url of the thumbnail for the result</td>",
|
||||
"rst_description": "*Optional*. Url of the thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail width",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail width</td>",
|
||||
"rst_description": "*Optional*. Thumbnail width\n",
|
||||
"name": "thumb_width",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail height",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail height</td>",
|
||||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumb_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
|
|
|
|||
|
|
@ -101,30 +101,6 @@
|
|||
"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": "thumb_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail width",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail width</td>",
|
||||
"rst_description": "*Optional*. Thumbnail width\n",
|
||||
"name": "thumb_width",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail height",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail height</td>",
|
||||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumb_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "URL of the thumbnail (JPEG only) for the file",
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
"description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
|
||||
"html_description": "<td>URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result</td>",
|
||||
"rst_description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
"description": "MIME type of the thumbnail, must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'",
|
||||
"html_description": "<td><em>Optional</em>. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”</td>",
|
||||
"rst_description": "*Optional*. MIME type of the thumbnail, must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'\n",
|
||||
"name": "thumb_mime_type",
|
||||
"name": "thumbnail_mime_type",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -124,22 +124,6 @@
|
|||
"rst_description": "*Optional*. Content of the message to be sent instead of the GIF animation\n",
|
||||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "MIME type of the thumbnail. Must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'",
|
||||
"html_description": "<td><em>Optional</em>. MIME type of the thumbnail. Must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”</td>",
|
||||
"rst_description": "*Optional*. MIME type of the thumbnail. Must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'\n",
|
||||
"name": "thumbnail_mime_type",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
|
||||
"html_description": "<td>URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result</td>",
|
||||
"rst_description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result\n",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -101,30 +101,6 @@
|
|||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
"html_description": "<td><em>Optional</em>. Url of the thumbnail for the result</td>",
|
||||
"rst_description": "*Optional*. Url of the thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail width",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail width</td>",
|
||||
"rst_description": "*Optional*. Thumbnail width\n",
|
||||
"name": "thumb_width",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail height",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail height</td>",
|
||||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumb_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
"description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
|
||||
"html_description": "<td>URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result</td>",
|
||||
"rst_description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
"description": "MIME type of the thumbnail, must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'",
|
||||
"html_description": "<td><em>Optional</em>. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”</td>",
|
||||
"rst_description": "*Optional*. MIME type of the thumbnail, must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'\n",
|
||||
"name": "thumb_mime_type",
|
||||
"name": "thumbnail_mime_type",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -124,22 +124,6 @@
|
|||
"rst_description": "*Optional*. Content of the message to be sent instead of the video animation\n",
|
||||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "MIME type of the thumbnail. Must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'",
|
||||
"html_description": "<td><em>Optional</em>. MIME type of the thumbnail. Must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”</td>",
|
||||
"rst_description": "*Optional*. MIME type of the thumbnail. Must be one of 'image/jpeg', 'image/gif', or 'video/mp4'. Defaults to 'image/jpeg'\n",
|
||||
"name": "thumbnail_mime_type",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
|
||||
"html_description": "<td>URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result</td>",
|
||||
"rst_description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result\n",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
"description": "URL of the thumbnail for the photo",
|
||||
"html_description": "<td>URL of the thumbnail for the photo</td>",
|
||||
"rst_description": "URL of the thumbnail for the photo\n",
|
||||
"name": "thumb_url",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
|
|
@ -116,14 +116,6 @@
|
|||
"rst_description": "*Optional*. Content of the message to be sent instead of the photo\n",
|
||||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "URL of the thumbnail for the photo",
|
||||
"html_description": "<td>URL of the thumbnail for the photo</td>",
|
||||
"rst_description": "URL of the thumbnail for the photo\n",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -109,30 +109,6 @@
|
|||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
"html_description": "<td><em>Optional</em>. Url of the thumbnail for the result</td>",
|
||||
"rst_description": "*Optional*. Url of the thumbnail for the result\n",
|
||||
"name": "thumb_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail width",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail width</td>",
|
||||
"rst_description": "*Optional*. Thumbnail width\n",
|
||||
"name": "thumb_width",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Thumbnail height",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail height</td>",
|
||||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumb_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Url of the thumbnail for the result",
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
"description": "URL of the thumbnail (JPEG only) for the video",
|
||||
"html_description": "<td>URL of the thumbnail (JPEG only) for the video</td>",
|
||||
"rst_description": "URL of the thumbnail (JPEG only) for the video\n",
|
||||
"name": "thumb_url",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
|
|
@ -132,14 +132,6 @@
|
|||
"rst_description": "*Optional*. Content of the message to be sent instead of the video. This field is **required** if InlineQueryResultVideo is used to send an HTML-page as a result (e.g., a YouTube video).\n",
|
||||
"name": "input_message_content",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "URL of the thumbnail (JPEG only) for the video",
|
||||
"html_description": "<td>URL of the thumbnail (JPEG only) for the video</td>",
|
||||
"rst_description": "URL of the thumbnail (JPEG only) for the video\n",
|
||||
"name": "thumbnail_url",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -92,14 +92,6 @@
|
|||
"rst_description": "*Optional*. Pass :code:`True` if the animation needs to be covered with a spoiler animation\n",
|
||||
"name": "has_spoiler",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "InputFile or String",
|
||||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -84,14 +84,6 @@
|
|||
"rst_description": "*Optional*. Title of the audio\n",
|
||||
"name": "title",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "InputFile or String",
|
||||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -68,14 +68,6 @@
|
|||
"rst_description": "*Optional*. Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always :code:`True`, if the document is sent as part of an album.\n",
|
||||
"name": "disable_content_type_detection",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "InputFile or String",
|
||||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -100,14 +100,6 @@
|
|||
"rst_description": "*Optional*. Pass :code:`True` if the video needs to be covered with a spoiler animation\n",
|
||||
"name": "has_spoiler",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "InputFile or String",
|
||||
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
|
||||
"html_description": "<td><em>Optional</em>. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "*Optional*. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Upcoming update",
|
||||
"anchor": "upcoming-update"
|
||||
"title": "Stickers",
|
||||
"anchor": "stickers"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "inputsticker",
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
"description": "Sticker thumbnail in the .WEBP or .JPG format",
|
||||
"html_description": "<td><em>Optional</em>. Sticker thumbnail in the .WEBP or .JPG format</td>",
|
||||
"rst_description": "*Optional*. Sticker thumbnail in the .WEBP or .JPG format\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -117,22 +117,6 @@
|
|||
"name": "custom_emoji_id",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "File size in bytes",
|
||||
"html_description": "<td><em>Optional</em>. File size in bytes</td>",
|
||||
"rst_description": "*Optional*. File size in bytes\n",
|
||||
"name": "file_size",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Sticker thumbnail in the .WEBP or .JPG format",
|
||||
"html_description": "<td><em>Optional</em>. Sticker thumbnail in the .WEBP or .JPG format</td>",
|
||||
"rst_description": "*Optional*. Sticker thumbnail in the .WEBP or .JPG format\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "True",
|
||||
"description": "True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places",
|
||||
|
|
@ -140,6 +124,14 @@
|
|||
"rst_description": "*Optional*. :code:`True`, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places\n",
|
||||
"name": "needs_repainting",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "File size in bytes",
|
||||
"html_description": "<td><em>Optional</em>. File size in bytes</td>",
|
||||
"rst_description": "*Optional*. File size in bytes\n",
|
||||
"name": "file_size",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -61,14 +61,6 @@
|
|||
"name": "stickers",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format",
|
||||
"html_description": "<td><em>Optional</em>. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format</td>",
|
||||
"rst_description": "*Optional*. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format\n",
|
||||
"name": "thumb",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format",
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
"description": "Video thumbnail",
|
||||
"html_description": "<td><em>Optional</em>. Video thumbnail</td>",
|
||||
"rst_description": "*Optional*. Video thumbnail\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -84,14 +84,6 @@
|
|||
"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": "PhotoSize",
|
||||
"description": "Video thumbnail",
|
||||
"html_description": "<td><em>Optional</em>. Video thumbnail</td>",
|
||||
"rst_description": "*Optional*. Video thumbnail\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
"description": "Video thumbnail",
|
||||
"html_description": "<td><em>Optional</em>. Video thumbnail</td>",
|
||||
"rst_description": "*Optional*. Video thumbnail\n",
|
||||
"name": "thumb",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
|
|
@ -60,14 +60,6 @@
|
|||
"rst_description": "*Optional*. File size in bytes\n",
|
||||
"name": "file_size",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "PhotoSize",
|
||||
"description": "Video thumbnail",
|
||||
"html_description": "<td><em>Optional</em>. Video thumbnail</td>",
|
||||
"rst_description": "*Optional*. Video thumbnail\n",
|
||||
"name": "thumbnail",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue