mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 8.2 (#1623)
* Added full support of Bot API 8.2 * Added changelog * Try to add port * Add port to the `test_reset_connector`
This commit is contained in:
parent
81550997f7
commit
afccd8a38f
41 changed files with 811 additions and 85 deletions
|
|
@ -7,9 +7,9 @@
|
|||
"object": {
|
||||
"anchor": "backgroundtypepattern",
|
||||
"name": "BackgroundTypePattern",
|
||||
"description": "The background is a PNG or TGV (gzipped subset of SVG with MIME type 'application/x-tgwallpattern') pattern to be combined with the background fill chosen by the user.",
|
||||
"html_description": "<p>The background is a PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.</p>",
|
||||
"rst_description": "The background is a PNG or TGV (gzipped subset of SVG with MIME type 'application/x-tgwallpattern') pattern to be combined with the background fill chosen by the user.",
|
||||
"description": "The background is a .PNG or .TGV (gzipped subset of SVG with MIME type 'application/x-tgwallpattern') pattern to be combined with the background fill chosen by the user.",
|
||||
"html_description": "<p>The background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.</p>",
|
||||
"rst_description": "The background is a .PNG or .TGV (gzipped subset of SVG with MIME type 'application/x-tgwallpattern') pattern to be combined with the background fill chosen by the user.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
|
|
|
|||
|
|
@ -35,6 +35,14 @@
|
|||
"name": "star_count",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "The number of Telegram Stars that must be paid to upgrade the gift to a unique one",
|
||||
"html_description": "<td><em>Optional</em>. The number of Telegram Stars that must be paid to upgrade the gift to a unique one</td>",
|
||||
"rst_description": "*Optional*. The number of Telegram Stars that must be paid to upgrade the gift to a unique one\n",
|
||||
"name": "upgrade_star_count",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "The total number of the gifts of this type that can be sent; for limited gifts only",
|
||||
|
|
|
|||
|
|
@ -59,14 +59,6 @@
|
|||
"name": "url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "Pass True if you don't want the URL to be shown in the message",
|
||||
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if you don't want the URL to be shown in the message</td>",
|
||||
"rst_description": "*Optional*. Pass :code:`True` if you don't want the URL to be shown in the message\n",
|
||||
"name": "hide_url",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Short description of the result",
|
||||
|
|
@ -98,6 +90,18 @@
|
|||
"rst_description": "*Optional*. Thumbnail height\n",
|
||||
"name": "thumbnail_height",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "Pass True if you don't want the URL to be shown in the message",
|
||||
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if you don't want the URL to be shown in the message</td>",
|
||||
"rst_description": "*Optional*. Pass :code:`True` if you don't want the URL to be shown in the message\n",
|
||||
"name": "hide_url",
|
||||
"required": false,
|
||||
"deprecated": {
|
||||
"version": "8.2",
|
||||
"release_date": "2025-01-01"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "A valid URL for the GIF file. File size must not exceed 1MB",
|
||||
"html_description": "<td>A valid URL for the GIF file. File size must not exceed 1MB</td>",
|
||||
"rst_description": "A valid URL for the GIF file. File size must not exceed 1MB\n",
|
||||
"description": "A valid URL for the GIF file",
|
||||
"html_description": "<td>A valid URL for the GIF file</td>",
|
||||
"rst_description": "A valid URL for the GIF file\n",
|
||||
"name": "gif_url",
|
||||
"required": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "A valid URL for the MPEG4 file. File size must not exceed 1MB",
|
||||
"html_description": "<td>A valid URL for the MPEG4 file. File size must not exceed 1MB</td>",
|
||||
"rst_description": "A valid URL for the MPEG4 file. File size must not exceed 1MB\n",
|
||||
"description": "A valid URL for the MPEG4 file",
|
||||
"html_description": "<td>A valid URL for the MPEG4 file</td>",
|
||||
"rst_description": "A valid URL for the MPEG4 file\n",
|
||||
"name": "mpeg4_url",
|
||||
"required": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Format of the added sticker, must be one of 'static' for a .WEBP or .PNG image, 'animated' for a .TGS animation, 'video' for a WEBM video",
|
||||
"html_description": "<td>Format of the added sticker, must be one of “static” for a <strong>.WEBP</strong> or <strong>.PNG</strong> image, “animated” for a <strong>.TGS</strong> animation, “video” for a <strong>WEBM</strong> video</td>",
|
||||
"rst_description": "Format of the added sticker, must be one of 'static' for a **.WEBP** or **.PNG** image, 'animated' for a **.TGS** animation, 'video' for a **WEBM** video\n",
|
||||
"description": "Format of the added sticker, must be one of 'static' for a .WEBP or .PNG image, 'animated' for a .TGS animation, 'video' for a .WEBM video",
|
||||
"html_description": "<td>Format of the added sticker, must be one of “static” for a <strong>.WEBP</strong> or <strong>.PNG</strong> image, “animated” for a <strong>.TGS</strong> animation, “video” for a <strong>.WEBM</strong> video</td>",
|
||||
"rst_description": "Format of the added sticker, must be one of 'static' for a **.WEBP** or **.PNG** image, 'animated' for a **.TGS** animation, 'video' for a **.WEBM** video\n",
|
||||
"name": "format",
|
||||
"required": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue