mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bot API 7.10 (#1570)
* Bump to the latest schema * Added full support ob Bot API 7.10 * Add support for purchased paid media events Enhanced the router to include `purchased_paid_media` handling. Added corresponding test cases to verify the new functionality and updated middleware to return the appropriate `EventContext`. * Added changelog
This commit is contained in:
parent
fb1e5cad59
commit
e8fc890809
40 changed files with 487 additions and 106 deletions
33
.butcher/types/PaidMediaPurchased/entity.json
Normal file
33
.butcher/types/PaidMediaPurchased/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Payments",
|
||||
"anchor": "payments"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "paidmediapurchased",
|
||||
"name": "PaidMediaPurchased",
|
||||
"description": "This object contains information about a paid media purchase.",
|
||||
"html_description": "<p>This object contains information about a paid media purchase.</p>",
|
||||
"rst_description": "This object contains information about a paid media purchase.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "User",
|
||||
"description": "User who purchased the media",
|
||||
"html_description": "<td>User who purchased the media</td>",
|
||||
"rst_description": "User who purchased the media\n",
|
||||
"name": "from",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Bot-specified paid media payload",
|
||||
"html_description": "<td>Bot-specified paid media payload</td>",
|
||||
"rst_description": "Bot-specified paid media payload\n",
|
||||
"name": "paid_media_payload",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue