E
E
Erik Mikoyan2020-10-09 09:48:37
API
Erik Mikoyan, 2020-10-09 09:48:37

How can I send attachments to users via the VK API that they sent me?

I have a bot, and for one of its commands I need to store the user's attachments, and then send them, without editing, and without doing anything.

I want to send the same attachments without downloading anywhere, and preferably they remain on behalf of the user who sent them. How to do it?

PS The documentation says about sending as a string in the attachment messages.send field, but in conversations it does not work just through a string in an attachment of type <type><owner_id>_<id>_<access_key>.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question