M
M
Mikk3572019-08-04 22:18:22
API
Mikk357, 2019-08-04 22:18:22

How to send an attachment?

My VK bot receives a message with a video/image/music and I want to send this attachment to another dialog. I turn attachment into a string and add messages.send to the parameters when requesting messages.send But not all files are inserted in this way (it seems to me that they are hidden, but I add access_key) Even a screenshot sent to a conversation cannot be thrown into the same conversation by the bot . What is the problem? Is it solvable? type + owner_id + '_' + id + '_' + access_key

Answer the question

In order to leave comments, you need to log in

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

I tried the same thing, but I came to the conclusion that this is impossible
, maybe this is due to the fact that community bots do not save the history of correspondence in conversations

But not all files are inserted this way.
which are inserted?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question