Answer the question
In order to leave comments, you need to log in
How to make a separate "tab" in the bot?
How to make it so that when the tab "Promo codes" the menu (keyboard) is removed and the keyboard is added with only 1 button back (to return to the menu), in the tab "Promo codes" it is possible to enter only promotional codes (which would be checked against the database, I did this ), but the commands and the rest did not react, only to the back button.
I use: vk_api, python
Answer the question
In order to leave comments, you need to log in
Assign a status to the user, for example, when he clicks on the Promo Codes button, change his status in the database to "promo" and send a new keyboard with only one button, and check that if he has this status, then he will not respond to other commands
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question