Answer the question
In order to leave comments, you need to log in
How to get the id of the message sent by the bot?
Good evening.
I don’t understand how to correctly get the id of the message that the bot sends. Needed to edit this post.
The vk api documentation says that the messages.send method returns the message id, but it always returns 0 to me
print(vk.method("messages.send", {"peer_id": 2000000001, "message": "test", "random_id": 0}))
Answer the question
In order to leave comments, you need to log in
Check whether the NetBios service is running on computers with the client installed (if Windows)
At the moment there is no way to get the message ID in conversations (for groups), only in PM as far as I know ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question