mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 01:15:31 +00:00
Use ListItem by default in ContentType helper.
This commit is contained in:
parent
7c19634379
commit
e90ca7cfae
2 changed files with 14 additions and 14 deletions
|
|
@ -36,7 +36,7 @@ async def save_sticker(message: types.Message):
|
|||
# Wait next message
|
||||
# It can only be a sticker
|
||||
msg = await dp.next_message(message,
|
||||
content_types=[ContentType.STICKER],
|
||||
content_types=ContentType.STICKER,
|
||||
otherwise=handle_bad_message,
|
||||
include_cancel=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue