Answer the question
In order to leave comments, you need to log in
How to make Input in telegram bot on aiogram?
Hello! You need to make user input in telegram on aiogram. I used to use telebot, but then I switched to aiogram.
From the old code, I still have input, but it does not work because there are slightly different functions in aiogram.
Here is the code snippet:
@bot.message_handler(func=lambda m: True)
def messages(message):
if 'Принято!' in message.text:
Good(message)
else:
No(message)
Answer the question
In order to leave comments, you need to log in
Banned on google?
https://ru.stackoverflow.com/questions/1306899/How...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question