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
41
.butcher/types/SuggestedPostApproved/entity.json
generated
Normal file
41
.butcher/types/SuggestedPostApproved/entity.json
generated
Normal 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"
|
||||
}
|
||||
}
|
||||
5
.butcher/types/SuggestedPostApproved/replace.yml
Normal file
5
.butcher/types/SuggestedPostApproved/replace.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
annotations:
|
||||
send_date:
|
||||
parsed_type:
|
||||
type: std
|
||||
name: DateTime
|
||||
Loading…
Add table
Add a link
Reference in a new issue