mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-16 12:07:13 +00:00
Added full support for the Bot API 8.3 (#1638)
* Added full support for the Bot API 8.3 * Added changelog * Ignore typing for aiohttp_socks
This commit is contained in:
parent
25833b830e
commit
d8b9ce1be9
65 changed files with 660 additions and 118 deletions
|
|
@ -7,18 +7,26 @@
|
|||
"object": {
|
||||
"anchor": "sendgift",
|
||||
"name": "sendGift",
|
||||
"description": "Sends a gift to the given user. The gift can't be converted to Telegram Stars by the user. Returns True on success.",
|
||||
"html_description": "<p>Sends a gift to the given user. The gift can't be converted to Telegram Stars by the user. Returns <em>True</em> on success.</p>",
|
||||
"rst_description": "Sends a gift to the given user. The gift can't be converted to Telegram Stars by the user. Returns :code:`True` on success.",
|
||||
"description": "Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns True on success.",
|
||||
"html_description": "<p>Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns <em>True</em> on success.</p>",
|
||||
"rst_description": "Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns :code:`True` on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": true,
|
||||
"description": "Unique identifier of the target user that will receive the gift",
|
||||
"html_description": "<td>Unique identifier of the target user that will receive the gift</td>",
|
||||
"rst_description": "Unique identifier of the target user that will receive the gift\n",
|
||||
"required": false,
|
||||
"description": "Required if chat_id is not specified. Unique identifier of the target user who will receive the gift.",
|
||||
"html_description": "<td>Required if <em>chat_id</em> is not specified. Unique identifier of the target user who will receive the gift.</td>",
|
||||
"rst_description": "Required if *chat_id* is not specified. Unique identifier of the target user who will receive the gift.\n",
|
||||
"name": "user_id"
|
||||
},
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": false,
|
||||
"description": "Required if user_id is not specified. Unique identifier for the chat or username of the channel (in the format @channelusername) that will receive the gift.",
|
||||
"html_description": "<td>Required if <em>user_id</em> is not specified. Unique identifier for the chat or username of the channel (in the format <code>@channelusername</code>) that will receive the gift.</td>",
|
||||
"rst_description": "Required if *user_id* is not specified. Unique identifier for the chat or username of the channel (in the format :code:`@channelusername`) that will receive the gift.\n",
|
||||
"name": "chat_id"
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"required": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue