mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support for the Bot API 9.2 (#1720)
* Added full support for the Bot API 9.2 * Mark butcher tool output files as linguist-generated in .gitattributes * Switch `send_date` type from `int` to `DateTime` in suggested post models
This commit is contained in:
parent
ddcedadfbd
commit
ab8af773cf
165 changed files with 4404 additions and 813 deletions
80
.butcher/types/Message/entity.json
generated
80
.butcher/types/Message/entity.json
generated
|
|
@ -27,6 +27,14 @@
|
|||
"name": "message_thread_id",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "DirectMessagesTopic",
|
||||
"description": "Information about the direct messages chat topic that contains the message",
|
||||
"html_description": "<td><em>Optional</em>. Information about the direct messages chat topic that contains the message</td>",
|
||||
"rst_description": "*Optional*. Information about the direct messages chat topic that contains the message\n",
|
||||
"name": "direct_messages_topic",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "User",
|
||||
"description": "Sender of the message; may be empty for messages sent to channels. For backward compatibility, if the message was sent on behalf of a chat, the field contains a fake sender user in non-channel chats",
|
||||
|
|
@ -110,8 +118,8 @@
|
|||
{
|
||||
"type": "Message",
|
||||
"description": "For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.",
|
||||
"html_description": "<td><em>Optional</em>. For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further <em>reply_to_message</em> fields even if it itself is a reply.</td>",
|
||||
"rst_description": "*Optional*. For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further *reply_to_message* fields even if it itself is a reply.\n",
|
||||
"html_description": "<td><em>Optional</em>. For replies in the same chat and message thread, the original message. Note that the <a href=\"#message\">Message</a> object in this field will not contain further <em>reply_to_message</em> fields even if it itself is a reply.</td>",
|
||||
"rst_description": "*Optional*. For replies in the same chat and message thread, the original message. Note that the :class:`aiogram.types.message.Message` object in this field will not contain further *reply_to_message* fields even if it itself is a reply.\n",
|
||||
"name": "reply_to_message",
|
||||
"required": false
|
||||
},
|
||||
|
|
@ -139,6 +147,14 @@
|
|||
"name": "reply_to_story",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Identifier of the specific checklist task that is being replied to",
|
||||
"html_description": "<td><em>Optional</em>. Identifier of the specific checklist task that is being replied to</td>",
|
||||
"rst_description": "*Optional*. Identifier of the specific checklist task that is being replied to\n",
|
||||
"name": "reply_to_checklist_task_id",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "User",
|
||||
"description": "Bot through which the message was sent",
|
||||
|
|
@ -171,6 +187,14 @@
|
|||
"name": "is_from_offline",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "True",
|
||||
"description": "True, if the message is a paid post. Note that such posts must not be deleted for 24 hours to receive the payment and can't be edited.",
|
||||
"html_description": "<td><em>Optional</em>. <em>True</em>, if the message is a paid post. Note that such posts must not be deleted for 24 hours to receive the payment and can't be edited.</td>",
|
||||
"rst_description": "*Optional*. :code:`True`, if the message is a paid post. Note that such posts must not be deleted for 24 hours to receive the payment and can't be edited.\n",
|
||||
"name": "is_paid_post",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "The unique identifier of a media message group this message belongs to",
|
||||
|
|
@ -219,6 +243,14 @@
|
|||
"name": "link_preview_options",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostInfo",
|
||||
"description": "Information about suggested post parameters if the message is a suggested post in a channel direct messages chat. If the message is an approved or declined suggested post, then it can't be edited.",
|
||||
"html_description": "<td><em>Optional</em>. Information about suggested post parameters if the message is a suggested post in a channel direct messages chat. If the message is an approved or declined suggested post, then it can't be edited.</td>",
|
||||
"rst_description": "*Optional*. Information about suggested post parameters if the message is a suggested post in a channel direct messages chat. If the message is an approved or declined suggested post, then it can't be edited.\n",
|
||||
"name": "suggested_post_info",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Unique identifier of the message effect added to the message",
|
||||
|
|
@ -486,8 +518,8 @@
|
|||
{
|
||||
"type": "MaybeInaccessibleMessage",
|
||||
"description": "Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.",
|
||||
"html_description": "<td><em>Optional</em>. Specified message was pinned. Note that the Message object in this field will not contain further <em>reply_to_message</em> fields even if it itself is a reply.</td>",
|
||||
"rst_description": "*Optional*. Specified message was pinned. Note that the Message object in this field will not contain further *reply_to_message* fields even if it itself is a reply.\n",
|
||||
"html_description": "<td><em>Optional</em>. Specified message was pinned. Note that the <a href=\"#message\">Message</a> object in this field will not contain further <em>reply_to_message</em> fields even if it itself is a reply.</td>",
|
||||
"rst_description": "*Optional*. Specified message was pinned. Note that the :class:`aiogram.types.message.Message` object in this field will not contain further *reply_to_message* fields even if it itself is a reply.\n",
|
||||
"name": "pinned_message",
|
||||
"required": false
|
||||
},
|
||||
|
|
@ -707,6 +739,46 @@
|
|||
"name": "paid_message_price_changed",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostApproved",
|
||||
"description": "Service message: a suggested post was approved",
|
||||
"html_description": "<td><em>Optional</em>. Service message: a suggested post was approved</td>",
|
||||
"rst_description": "*Optional*. Service message: a suggested post was approved\n",
|
||||
"name": "suggested_post_approved",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostApprovalFailed",
|
||||
"description": "Service message: approval of a suggested post has failed",
|
||||
"html_description": "<td><em>Optional</em>. Service message: approval of a suggested post has failed</td>",
|
||||
"rst_description": "*Optional*. Service message: approval of a suggested post has failed\n",
|
||||
"name": "suggested_post_approval_failed",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostDeclined",
|
||||
"description": "Service message: a suggested post was declined",
|
||||
"html_description": "<td><em>Optional</em>. Service message: a suggested post was declined</td>",
|
||||
"rst_description": "*Optional*. Service message: a suggested post was declined\n",
|
||||
"name": "suggested_post_declined",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostPaid",
|
||||
"description": "Service message: payment for a suggested post was received",
|
||||
"html_description": "<td><em>Optional</em>. Service message: payment for a suggested post was received</td>",
|
||||
"rst_description": "*Optional*. Service message: payment for a suggested post was received\n",
|
||||
"name": "suggested_post_paid",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "SuggestedPostRefunded",
|
||||
"description": "Service message: payment for a suggested post was refunded",
|
||||
"html_description": "<td><em>Optional</em>. Service message: payment for a suggested post was refunded</td>",
|
||||
"rst_description": "*Optional*. Service message: payment for a suggested post was refunded\n",
|
||||
"name": "suggested_post_refunded",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "VideoChatScheduled",
|
||||
"description": "Service message: video chat scheduled",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue