Returns a URL for uploading a new profile picture for the current user or a group they manage.
If updating a group’s profile picture, groups permission is also required.
This method requires the following permissions: photos.
Parameters
group_id
integer
If updating a group’s profile picture, identifier of that group.
By default, the current user’s profile picture is updated.
Result
An object:
upload_url
string
A URL for uploading a new profile picture.