-
-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added full support of Bot API 7.5 (#1518)
* Added full support of Bot API 7.5 * Added changelog * Update date type in RevenueWithdrawalStateSucceeded * Added example
- Loading branch information
1 parent
dcfc963
commit 1f7bbeb
Showing
72 changed files
with
1,629 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: RevenueWithdrawalStateType | ||
description: | | ||
This object represents a revenue withdrawal state type | ||
Source: https://core.telegram.org/bots/api#revenuewithdrawalstate | ||
multi_parse: | ||
attribute: type | ||
regexp: "'([a-z_]+)'" | ||
entities: | ||
- RevenueWithdrawalStateFailed | ||
- RevenueWithdrawalStatePending | ||
- RevenueWithdrawalStateSucceeded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: TransactionPartnerType | ||
description: | | ||
This object represents a type of transaction partner. | ||
Source: https://core.telegram.org/bots/api#transactionpartner | ||
multi_parse: | ||
attribute: type | ||
regexp: "'([a-z_]+)'" | ||
entities: | ||
- TransactionPartnerFragment | ||
- TransactionPartnerOther | ||
- TransactionPartnerUser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"meta": {}, | ||
"group": { | ||
"title": "Payments", | ||
"anchor": "payments" | ||
}, | ||
"object": { | ||
"anchor": "getstartransactions", | ||
"name": "getStarTransactions", | ||
"description": "Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object.", | ||
"html_description": "<p>Returns the bot's Telegram Star transactions in chronological order. On success, returns a <a href=\"#startransactions\">StarTransactions</a> object.</p>", | ||
"rst_description": "Returns the bot's Telegram Star transactions in chronological order. On success, returns a :class:`aiogram.types.star_transactions.StarTransactions` object.", | ||
"annotations": [ | ||
{ | ||
"type": "Integer", | ||
"required": false, | ||
"description": "Number of transactions to skip in the response", | ||
"html_description": "<td>Number of transactions to skip in the response</td>", | ||
"rst_description": "Number of transactions to skip in the response\n", | ||
"name": "offset" | ||
}, | ||
{ | ||
"type": "Integer", | ||
"required": false, | ||
"description": "The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.", | ||
"html_description": "<td>The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.</td>", | ||
"rst_description": "The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.\n", | ||
"name": "limit" | ||
} | ||
], | ||
"category": "methods" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.