Answer the question
In order to leave comments, you need to log in
How to properly design a chat bot architecture?
There is a task to write a relatively complex chat bot with great functionality for Telegram.
I'm using pyTelegramBotAPI , where constructions like this are used to handle events:
@bot.message_handler(commands=['start'])
def start(message):
bot.send_message(message.from_user.id, "Привет")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question