Answer the question
In order to leave comments, you need to log in
Why does an error occur when working with the VK API?
Greetings. The goal is to change the photo of the VK chat, for this, as it is written in the documentation , you need to do the following:
Upload the file to the upload_url address obtained in the previous paragraph by forming a POST request with the file field. This field must contain an image in multipart/form-data format.
To save the photo, call the messages.setChatPhoto method, passing in the file parameter the contents of the response field obtained in the previous step.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question