N
N
Nikita Kuzovkov2020-05-18 13:53:40
Python
Nikita Kuzovkov, 2020-05-18 13:53:40

How to save messages sent to you in VK?

I don’t understand how to write a program in python that will monitor messages sent to you on VKontakte in real time (I’ll upload it to pythonanywhere) and resend the text of the message and the sender, let’s say a fake page or bot, so that I can later read this message.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Lebedinsky, 2020-05-18
@StellandYT

Shalom
I think if you need to forward a message, then in the "messages.send" method you should pass the "forward_messages" parameter with the identifiers of the messages to be forwarded, at the moment when you execute the "Send a message to another user" block.
Everything is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question