mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
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:
parent
5adaf7a567
commit
6570d0bab1
218 changed files with 7687 additions and 1741 deletions
|
|
@ -32,7 +32,9 @@ class TestAnswerInlineQuery:
|
|||
def test_parse_mode(self, bot: MockedBot):
|
||||
query = AnswerInlineQuery(
|
||||
inline_query_id="query id",
|
||||
results=[InlineQueryResultPhoto(id="result id", photo_url="photo", thumb_url="thumb")],
|
||||
results=[
|
||||
InlineQueryResultPhoto(id="result id", photo_url="photo", thumbnail_url="thumb")
|
||||
],
|
||||
)
|
||||
request = query.build_request(bot)
|
||||
assert request.data["results"][0]["parse_mode"] is None
|
||||
|
|
@ -48,7 +50,7 @@ class TestAnswerInlineQuery:
|
|||
InlineQueryResultPhoto(
|
||||
id="result id",
|
||||
photo_url="photo",
|
||||
thumb_url="thumb",
|
||||
thumbnail_url="thumb",
|
||||
input_message_content=InputTextMessageContent(message_text="test"),
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue