Reputation: 184
I want to implement moving from one set of buttons to another in telegram bot for each user separately, like at the screenshots below, I clicked button with text "Ответы на вопросы" and I was moved to another set of buttons
Here is problem, that for each user state about buttons have to store separately. Now I have only one idea how to implement this: to store user-id and state in key-value db.
Are there another solutions to solve this problem more simple, maybe with just resources of pytelegrambotapi
? And changes of state can be implemented with just automatons or there are another ideas?
Upvotes: 0
Views: 569