T
T
Toxic-cloud2019-08-26 19:04:24
Python
Toxic-cloud, 2019-08-26 19:04:24

Messages.send in vk?

print(api.messages.send(peer_id=2000000002, message='text', random_id=randint(1,100000)))

in theory, it should return ID messages,
everything is fine in PM, but when you write to a conversation, it always returns 0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-08-26
@StockholmSyndrome

communities do not save the history of correspondence in conversations, therefore all messages have id=0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question