Fixed example description (#545)

This commit is contained in:
Oleg A 2021-03-27 15:09:08 +03:00 committed by GitHub
parent 15a6e94135
commit 79c59b34f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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!")