Q
Q
QWATRIX2019-01-13 23:00:29
In contact with
QWATRIX, 2019-01-13 23:00:29

How to make the bot write to the conversation (via CallBack API)?

I make a bot through a group, not through a page.
I know that there are many bots that respond to messages in a conversation.
So, mine does not want to respond in a conversation, but responds only through a LAN to the bot.
I work through peer_id
When specifying a message, you can add a chat_id, but I don’t know how to make the bot calculate it.
The bot has been granted all rights.
The code itself is taken from https://vk.com/dev/bots_docs
Example with Callback API, didn't change anything.
I tried other bot sources to see how the answer system is implemented, but there is also little use there.
In short, the bot can only write in private messages, not in conversations.
I hope for your support.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question