mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 8.1 (#1617)
* Added full support of Bot API 8.1 * Remove artifacts from types and methods (model_* methods)
This commit is contained in:
parent
6520b9fba2
commit
782796c217
25 changed files with 433 additions and 51 deletions
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Payments",
|
||||
"anchor": "payments"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "transactionpartneraffiliateprogram",
|
||||
"name": "TransactionPartnerAffiliateProgram",
|
||||
"description": "Describes the affiliate program that issued the affiliate commission received via this transaction.",
|
||||
"html_description": "<p>Describes the affiliate program that issued the affiliate commission received via this transaction.</p>",
|
||||
"rst_description": "Describes the affiliate program that issued the affiliate commission received via this transaction.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Type of the transaction partner, always 'affiliate_program'",
|
||||
"html_description": "<td>Type of the transaction partner, always “affiliate_program”</td>",
|
||||
"rst_description": "Type of the transaction partner, always 'affiliate_program'\n",
|
||||
"name": "type",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "User",
|
||||
"description": "Information about the bot that sponsored the affiliate program",
|
||||
"html_description": "<td><em>Optional</em>. Information about the bot that sponsored the affiliate program</td>",
|
||||
"rst_description": "*Optional*. Information about the bot that sponsored the affiliate program\n",
|
||||
"name": "sponsor_user",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"description": "The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users",
|
||||
"html_description": "<td>The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users</td>",
|
||||
"rst_description": "The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users\n",
|
||||
"name": "commission_per_mille",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue