mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Reworked request builder (#1142)
* Reworked request builder * Added more default values * Update tests * Fixed timestamp * Fixed Py3.8 support * Describe changes
This commit is contained in:
parent
924a83966d
commit
fea1b7b0a3
300 changed files with 1003 additions and 3448 deletions
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
disable_web_page_preview:
|
||||
value: UNSET_DISABLE_WEB_PAGE_PREVIEW
|
||||
|
|
|
|||
3
.butcher/methods/forwardMessage/replace.yml
Normal file
3
.butcher/methods/forwardMessage/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
3
.butcher/methods/sendContact/replace.yml
Normal file
3
.butcher/methods/sendContact/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
3
.butcher/methods/sendDice/replace.yml
Normal file
3
.butcher/methods/sendDice/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
3
.butcher/methods/sendGame/replace.yml
Normal file
3
.butcher/methods/sendGame/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
3
.butcher/methods/sendInvoice/replace.yml
Normal file
3
.butcher/methods/sendInvoice/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
3
.butcher/methods/sendLocation/replace.yml
Normal file
3
.butcher/methods/sendLocation/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
3
.butcher/methods/sendMediaGroup/replace.yml
Normal file
3
.butcher/methods/sendMediaGroup/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
disable_web_page_preview:
|
||||
value: UNSET_DISABLE_WEB_PAGE_PREVIEW
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
annotations:
|
||||
explanation_parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
close_date:
|
||||
parsed_type:
|
||||
type: union
|
||||
|
|
|
|||
3
.butcher/methods/sendSticker/replace.yml
Normal file
3
.butcher/methods/sendSticker/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
3
.butcher/methods/sendVenue/replace.yml
Normal file
3
.butcher/methods/sendVenue/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
3
.butcher/methods/sendVideoNote/replace.yml
Normal file
3
.butcher/methods/sendVideoNote/replace.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
annotations:
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
protect_content:
|
||||
value: UNSET_PROTECT_CONTENT
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ bases:
|
|||
- InlineQueryResult
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ annotations:
|
|||
category: types
|
||||
name: InputFile
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ annotations:
|
|||
category: types
|
||||
name: InputFile
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ annotations:
|
|||
category: types
|
||||
name: InputFile
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ annotations:
|
|||
category: types
|
||||
name: InputFile
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ annotations:
|
|||
category: types
|
||||
name: InputFile
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
|
|
|
|||
|
|
@ -3,4 +3,6 @@ bases:
|
|||
|
||||
annotations:
|
||||
parse_mode:
|
||||
value: UNSET
|
||||
value: UNSET_PARSE_MODE
|
||||
disable_web_page_preview:
|
||||
value: UNSET_DISABLE_WEB_PAGE_PREVIEW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue