Answer the question
In order to leave comments, you need to log in
How to wait for a message from the vk_api user?
I know that for the bot in the cart there is a register_next_step_handler() method. But for VK I did not find such a method. Maybe have a crutch. I want that after a certain message it goes to another function, and so on.
Answer the question
In order to leave comments, you need to log in
module vk_api
for event in longpoll.listen():
if event.type == VkEventType.MESSAGE_NEW:
….
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question