Answer the question
In order to leave comments, you need to log in
How to save the machine state of a telegram bot user?
Hello, I am writing a telegram bot in the python language and the aiogram library, I also use machine states, but the problem is that it is reset after the bot is restarted
bot = Bot(config.bot_token)
storage = MemoryStorage()
dp = Dispatcher(bot, storage=storage)
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