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/PaidMediaInfo/entity.json
Normal file
33
.butcher/types/PaidMediaInfo/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available types",
|
||||
"anchor": "available-types"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "paidmediainfo",
|
||||
"name": "PaidMediaInfo",
|
||||
"description": "Describes the paid media added to a message.",
|
||||
"html_description": "<p>Describes the paid media added to a message.</p>",
|
||||
"rst_description": "Describes the paid media added to a message.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "The number of Telegram Stars that must be paid to buy access to the media",
|
||||
"html_description": "<td>The number of Telegram Stars that must be paid to buy access to the media</td>",
|
||||
"rst_description": "The number of Telegram Stars that must be paid to buy access to the media\n",
|
||||
"name": "star_count",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "Array of PaidMedia",
|
||||
"description": "Information about the paid media",
|
||||
"html_description": "<td>Information about the paid media</td>",
|
||||
"rst_description": "Information about the paid media\n",
|
||||
"name": "paid_media",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue