mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.6 (#1533)
* Added full support of Bot API 7.6 * Fixed imports * fix tests (#1534) * Fixed coverage * Override InputPaidMedia media type to `str | InputFile` * Added shortcut * Fixed PaidMediaType enum * Added changelog --------- Co-authored-by: Oleg A <t0rr@mail.ru>
This commit is contained in:
parent
3baa7383c1
commit
11efa8e186
97 changed files with 2058 additions and 274 deletions
33
.butcher/types/PaidMediaVideo/entity.json
Normal file
33
.butcher/types/PaidMediaVideo/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available types",
|
||||
"anchor": "available-types"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "paidmediavideo",
|
||||
"name": "PaidMediaVideo",
|
||||
"description": "The paid media is a video.",
|
||||
"html_description": "<p>The paid media is a video.</p>",
|
||||
"rst_description": "The paid media is a video.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Type of the paid media, always 'video'",
|
||||
"html_description": "<td>Type of the paid media, always “video”</td>",
|
||||
"rst_description": "Type of the paid media, always 'video'\n",
|
||||
"name": "type",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "Video",
|
||||
"description": "The video",
|
||||
"html_description": "<td>The video</td>",
|
||||
"rst_description": "The video\n",
|
||||
"name": "video",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue