mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-18 20:49:14 +00:00
Added full support of Bot API 7.4 (#1498)
* Added full support of Bot API 7.4 * Added changelog
This commit is contained in:
parent
f50e058725
commit
b08ba78898
118 changed files with 1821 additions and 409 deletions
33
.butcher/methods/refundStarPayment/entity.json
Normal file
33
.butcher/methods/refundStarPayment/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Payments",
|
||||
"anchor": "payments"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "refundstarpayment",
|
||||
"name": "refundStarPayment",
|
||||
"description": "Refunds a successful payment in Telegram Stars. Returns True on success.",
|
||||
"html_description": "<p>Refunds a successful payment in <a href=\"https://t.me/BotNews/90\">Telegram Stars</a>. Returns <em>True</em> on success.</p>",
|
||||
"rst_description": "Refunds a successful payment in `Telegram Stars <https://t.me/BotNews/90>`_. Returns :code:`True` on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": true,
|
||||
"description": "Identifier of the user whose payment will be refunded",
|
||||
"html_description": "<td>Identifier of the user whose payment will be refunded</td>",
|
||||
"rst_description": "Identifier of the user whose payment will be refunded\n",
|
||||
"name": "user_id"
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"required": true,
|
||||
"description": "Telegram payment identifier",
|
||||
"html_description": "<td>Telegram payment identifier</td>",
|
||||
"rst_description": "Telegram payment identifier\n",
|
||||
"name": "telegram_payment_charge_id"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue