Answer the question
In order to leave comments, you need to log in
How to make the VK bot reply to a message (reply)?
I’m creating my own bot, I made it answer “hello” messages, but I want it to answer with an answer, I read in the documentation that you need to use reply_to, but that’s not the task, I don’t understand where to shove this reply_to, and how to receive message IDs, here my code:
vk.updates.hear(/^(?:привет)/iu, msg => {
msg.send(`Приветствую`)
})
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