Bot API 6.6 (#1139)

* Added basic support of Bot API 6.6

* Update descriptions

* Added StickerFormat enum

* Bump version

* Refresh from docs

* Fixed CommandStart

* Fixed files uploading

* Cover new functionality

* Added changelog

* Update texts
This commit is contained in:
Alex Root Junior 2023-03-11 02:17:47 +02:00 committed by GitHub
parent 5adaf7a567
commit 6570d0bab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
218 changed files with 7687 additions and 1741 deletions

View file

@ -21,7 +21,9 @@ class TestSendVideoNote:
)
response: Message = await SendVideoNote(
chat_id=42, video_note="file id", thumb=BufferedInputFile(b"", "file.png")
chat_id=42,
video_note="file id",
thumbnail=BufferedInputFile(b"", "file.png"),
)
request: Request = bot.get_request()
assert request.method == "sendVideoNote"
@ -42,7 +44,9 @@ class TestSendVideoNote:
)
response: Message = await bot.send_video_note(
chat_id=42, video_note="file id", thumb=BufferedInputFile(b"", "file.png")
chat_id=42,
video_note="file id",
thumbnail=BufferedInputFile(b"", "file.png"),
)
request: Request = bot.get_request()
assert request.method == "sendVideoNote"