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:
Alex Root Junior 2023-03-11 20:46:36 +02:00 committed by GitHub
parent 924a83966d
commit fea1b7b0a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
300 changed files with 1003 additions and 3448 deletions

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,3 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
disable_web_page_preview:
value: UNSET_DISABLE_WEB_PAGE_PREVIEW

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -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

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -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

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,4 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -2,4 +2,4 @@ bases:
- InlineQueryResult
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -12,4 +12,4 @@ annotations:
category: types
name: InputFile
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -12,4 +12,4 @@ annotations:
category: types
name: InputFile
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -12,4 +12,4 @@ annotations:
category: types
name: InputFile
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -12,4 +12,4 @@ annotations:
category: types
name: InputFile
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -12,4 +12,4 @@ annotations:
category: types
name: InputFile
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -3,4 +3,6 @@ bases:
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
disable_web_page_preview:
value: UNSET_DISABLE_WEB_PAGE_PREVIEW