mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Re-generate Bot API
This commit is contained in:
parent
180a7297ff
commit
a355daba49
18 changed files with 247 additions and 156 deletions
|
|
@ -21,9 +21,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege",
|
||||
"html_description": "<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege\n",
|
||||
"description": "True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege",
|
||||
"html_description": "<td><em>True</em>, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege\n",
|
||||
"name": "can_manage_chat",
|
||||
"required": true
|
||||
},
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can restrict, ban or unban chat members",
|
||||
"html_description": "<td><em>True</em>, if the administrator can restrict, ban or unban chat members</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can restrict, ban or unban chat members\n",
|
||||
"description": "True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics",
|
||||
"html_description": "<td><em>True</em>, if the administrator can restrict, ban or unban chat members, or access supergroup statistics</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can restrict, ban or unban chat members, or access supergroup statistics\n",
|
||||
"name": "can_restrict_members",
|
||||
"required": true
|
||||
},
|
||||
|
|
@ -77,9 +77,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can post messages in the channel; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can post messages in the channel; channels only\n",
|
||||
"description": "True, if the administrator can post messages in the channel, or access channel statistics; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel, or access channel statistics; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can post messages in the channel, or access channel statistics; channels only\n",
|
||||
"name": "can_post_messages",
|
||||
"required": false
|
||||
},
|
||||
|
|
@ -117,9 +117,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can delete stories posted by other users",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can delete stories posted by other users\n",
|
||||
"description": "True, if the administrator can delete stories posted by other users; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can delete stories posted by other users; channels only\n",
|
||||
"name": "can_delete_stories",
|
||||
"required": false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user.",
|
||||
"html_description": "<td>Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user.</td>",
|
||||
"rst_description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user.\n",
|
||||
"description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.",
|
||||
"html_description": "<td>Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.</td>",
|
||||
"rst_description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.\n",
|
||||
"name": "user_chat_id",
|
||||
"required": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege",
|
||||
"html_description": "<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege\n",
|
||||
"description": "True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege",
|
||||
"html_description": "<td><em>True</em>, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege\n",
|
||||
"name": "can_manage_chat",
|
||||
"required": true
|
||||
},
|
||||
|
|
@ -69,9 +69,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can restrict, ban or unban chat members",
|
||||
"html_description": "<td><em>True</em>, if the administrator can restrict, ban or unban chat members</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can restrict, ban or unban chat members\n",
|
||||
"description": "True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics",
|
||||
"html_description": "<td><em>True</em>, if the administrator can restrict, ban or unban chat members, or access supergroup statistics</td>",
|
||||
"rst_description": ":code:`True`, if the administrator can restrict, ban or unban chat members, or access supergroup statistics\n",
|
||||
"name": "can_restrict_members",
|
||||
"required": true
|
||||
},
|
||||
|
|
@ -101,9 +101,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can post messages in the channel; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can post messages in the channel; channels only\n",
|
||||
"description": "True, if the administrator can post messages in the channel, or access channel statistics; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel, or access channel statistics; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can post messages in the channel, or access channel statistics; channels only\n",
|
||||
"name": "can_post_messages",
|
||||
"required": false
|
||||
},
|
||||
|
|
@ -141,9 +141,9 @@
|
|||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"description": "True, if the administrator can delete stories posted by other users",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can delete stories posted by other users\n",
|
||||
"description": "True, if the administrator can delete stories posted by other users; channels only",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users; channels only</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the administrator can delete stories posted by other users; channels only\n",
|
||||
"name": "can_delete_stories",
|
||||
"required": false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -117,9 +117,9 @@
|
|||
},
|
||||
{
|
||||
"type": "ChatMemberUpdated",
|
||||
"description": "A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify 'chat_member' in the list of allowed_updates to receive these updates.",
|
||||
"html_description": "<td><em>Optional</em>. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of <em>allowed_updates</em> to receive these updates.</td>",
|
||||
"rst_description": "*Optional*. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify 'chat_member' in the list of *allowed_updates* to receive these updates.\n",
|
||||
"description": "A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify \"chat_member\" in the list of allowed_updates to receive these updates.",
|
||||
"html_description": "<td><em>Optional</em>. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify <code>\"chat_member\"</code> in the list of <em>allowed_updates</em> to receive these updates.</td>",
|
||||
"rst_description": "*Optional*. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify :code:`\"chat_member\"` in the list of *allowed_updates* to receive these updates.\n",
|
||||
"name": "chat_member",
|
||||
"required": false
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue