Установить фото профиля
POST
/waInstance{{idInstance}}/setProfilePicture/{{apiTokenInstance}}Документация SetProfilePicture
Request
Body Params multipart/form-data
file
file
required
Отправляемый файл в формате *.jpg
Request samples
Responses
setProfilePicture(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
reason
null
required
urlAvatar
string
required
setProfilePicture
boolean
required
ExamplesetProfilePicture
{
"reason": null,
"urlAvatar": "https://pps.whatsapp.net/v/t61.24694-24/427363644_953670539673728_6611951982054139732_n.jpg?ccb=11-4&oh=01_AdQM0J6igeTosnmfic1q98Ae2lReQK3t63VSaxgrew44mAuow&oe=65FADA13&_nc_sid=e6ed6c&_nc_cat=643",
"setProfilePicture": true
}
Last modified: 18 days ago