mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed example description (#545)
This commit is contained in:
parent
15a6e94135
commit
79c59b34f9
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ bot = Bot(token=API_TOKEN)
|
|||
dp = Dispatcher(bot)
|
||||
|
||||
|
||||
# if the text from user in the list
|
||||
# if the text is equal to any string in the list
|
||||
@dp.message_handler(text=['text1', 'text2'])
|
||||
async def text_in_handler(message: types.Message):
|
||||
await message.answer("The message text equals to one of in the list!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue