Answer the question
In order to leave comments, you need to log in
How to make the bot react to messages in a conversation?
I'm trying to get a bot written in Node.js to respond to commands in conversations. For example, someone wrote "the chance that ...", and he will answer.
I use vk-io 3.2.0
, I need to make it so that when I write a message in a conversation, longpoll reacts to it. When I write
, only those messages that I write to the bot in the LAN are determined, and not in a general conversation. Maybe there is some kind of event that determines the messages in the conversation? vk.longpoll.on('message', (message) => {}
Answer the question
In order to leave comments, you need to log in
in a conversation, the bot must have full access to the correspondence
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question