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:
Alex Root Junior 2025-08-17 19:07:58 +03:00 committed by GitHub
parent ddcedadfbd
commit ab8af773cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
165 changed files with 4404 additions and 813 deletions

View file

@ -0,0 +1,41 @@
{
"meta": {},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "suggestedpostapproved",
"name": "SuggestedPostApproved",
"description": "Describes a service message about the approval of a suggested post.",
"html_description": "<p>Describes a service message about the approval of a suggested post.</p>",
"rst_description": "Describes a service message about the approval of a suggested post.",
"annotations": [
{
"type": "Message",
"description": "Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.",
"html_description": "<td><em>Optional</em>. Message containing the suggested post. Note that the <a href=\"#message\">Message</a> object in this field will not contain the <em>reply_to_message</em> field even if it itself is a reply.</td>",
"rst_description": "*Optional*. Message containing the suggested post. Note that the :class:`aiogram.types.message.Message` object in this field will not contain the *reply_to_message* field even if it itself is a reply.\n",
"name": "suggested_post_message",
"required": false
},
{
"type": "SuggestedPostPrice",
"description": "Amount paid for the post",
"html_description": "<td><em>Optional</em>. Amount paid for the post</td>",
"rst_description": "*Optional*. Amount paid for the post\n",
"name": "price",
"required": false
},
{
"type": "Integer",
"description": "Date when the post will be published",
"html_description": "<td>Date when the post will be published</td>",
"rst_description": "Date when the post will be published\n",
"name": "send_date",
"required": true
}
],
"category": "types"
}
}

View file

@ -0,0 +1,5 @@
annotations:
send_date:
parsed_type:
type: std
name: DateTime