set_profile_pic
- Inputs
{
"file_id": "string: excludes media_id",
"media_id": "integer: excludes file_id",
"user_name": "string between 4 to 40 characters: optional"
}
- Errors
{
"file_id_does_not_exist_or_not_valid": "file id does not exist or not valid",
"media_id_does_not_exist_or_not_valid": "media id does not exist or not valid",
"must_login": "user must be login",
"user_name_does_not_exist_or_not_valid": "user name does not exist or not valid"
}
- Extra Description
Set picture for user's account
- Sample
- Url:
- Output:
{
"result": {
"media_id": 57
},
"status": "success",
"time": 1526807321.5819783
}