← All methods

messages.setChatPhoto

This short description is taken from the method source. Unless noted, the response fields follow VK API v5.

Parameters

Parameter Type Required Description
chat_id mixed no
file mixed no
photo mixed no
hash mixed no
peer_id mixed no
photo_id mixed no

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=messages.setChatPhoto' \
  -d 'access_token=USER_TOKEN'