Answer the question
In order to leave comments, you need to log in
How do I forward a message to a conversation?
Hello.
I wrote a chat bot for VK on the Callback API, added it to the conversation, messages are sent to the server.
Here I write means in the conversation "hello", what the bot should trigger and write something.
Here is the structure:
{
"type": "message_new",
"object": {
"message": {
"date": 1582245097,
"from_id": 1,
"id": 0,
"out": 0,
"peer_id": 2000000001,
"text": "привет",
"conversation_message_id": 107,
"fwd_messages": [],
"important": false,
"random_id": 0,
"attachments": [],
"is_hidden": false
},
"client_info": {
"button_actions": [
"text",
"vkpay",
"open_app",
"location",
"open_link"
],
"keyboard": true,
"inline_keyboard": true,
"lang_id": 0
}
},
"group_id": 1,
"event_id": "1"
}
{"response":{"count":0,"items":[]}}
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