Answer the question
In order to leave comments, you need to log in
Waiting for confirmation on a Vkontakte message (python)?
I use vk_api.bot_longpoll
if event.type == VkBotEventType.MESSAGE_NEW:
if event.from_user:
if response == "/message":
vk.method('messages.send', {'user_id': peer_id, 'message': 'Введи сообщение:', 'random_id': 0})
#Ожидание новой проверки на сообщение, вложенное в это (нельзя вызвать, если не исполнена команда /message)
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