photos.updateProfilePhoto
Installs a previously uploaded photo as a profile photo.
Example
TL schema
Parameters
Name | Type | Description |
id | Input photo |
Result
Possible errors
Code | Type | Description |
400 | FILE_PARTS_INVALID | The number of file parts is invalid |
400 | IMAGE_PROCESS_FAILED | Failure while processing image |
400 | LOCATION_INVALID | The provided location is invalid |
400 | PHOTO_CROP_SIZE_SMALL | Photo is too small |
400 | PHOTO_EXT_INVALID | The extension of the photo is invalid |
400 | PHOTO_ID_INVALID | Photo ID invalid |
Can bots use this methd ?
yes
Related pages
Last updated