T
T
TostPOST2019-11-06 17:55:20
PHP
TostPOST, 2019-11-06 17:55:20

How to find out the identifier of a sent message in VK?

I need to do a vote on a message with a keyboard followed by processing the messages and then editing the original message. Everything is ready, except for editing the message. To do this, you need to use the messages.edit method, but I can not get the message_id parameter. It should come as a result of using the messages.send method, but when I send a message with this method to a conversation, it always returns 0, i.e. nothing. At the same time, the message itself is sent and everything is fine, there are no other ways to pull out the message identifier, all methods that could be used at least somehow cannot work with conversations on behalf of the community. Is there any way to get this identifier?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-11-06
@StockholmSyndrome

communities do not save the history of correspondence in conversations, all messages have id=0, so you can not edit or delete messages

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question