mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support for Bot API 8.0 (#1606)
* Added full support of Bot API 8.0 * Added tests * Reformat code * Added changelog * Bump API version
This commit is contained in:
parent
f2916ca03f
commit
dfc88fc907
169 changed files with 1890 additions and 162 deletions
33
.butcher/types/PreparedInlineMessage/entity.json
Normal file
33
.butcher/types/PreparedInlineMessage/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Inline mode",
|
||||
"anchor": "inline-mode"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "preparedinlinemessage",
|
||||
"name": "PreparedInlineMessage",
|
||||
"description": "Describes an inline message to be sent by a user of a Mini App.",
|
||||
"html_description": "<p>Describes an inline message to be sent by a user of a Mini App.</p>",
|
||||
"rst_description": "Describes an inline message to be sent by a user of a Mini App.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Unique identifier of the prepared message",
|
||||
"html_description": "<td>Unique identifier of the prepared message</td>",
|
||||
"rst_description": "Unique identifier of the prepared message\n",
|
||||
"name": "id",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used",
|
||||
"html_description": "<td>Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used</td>",
|
||||
"rst_description": "Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used\n",
|
||||
"name": "expiration_date",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
11
.butcher/types/PreparedInlineMessage/replace.yml
Normal file
11
.butcher/types/PreparedInlineMessage/replace.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
annotations:
|
||||
expiration_date:
|
||||
parsed_type:
|
||||
type: union
|
||||
items:
|
||||
- type: std
|
||||
name: datetime.datetime
|
||||
- type: std
|
||||
name: datetime.timedelta
|
||||
- type: std
|
||||
name: int
|
||||
Loading…
Add table
Add a link
Reference in a new issue