{
"group_id": 123456,
//网络路径
"file": "http://i0.hdslb.com/bfs/archive/c8fd97a40bf79f03e7b76cbc87236f612caef7b2.png"
// 本地路径
//"file": "file://D:/a.jpg"
}
curl --location --request POST '/set_group_portrait' \
--header 'Content-Type: application/json' \
--data-raw '{
"group_id": 123456,
//网络路径
"file": "http://i0.hdslb.com/bfs/archive/c8fd97a40bf79f03e7b76cbc87236f612caef7b2.png"
// 本地路径
//"file": "file://D:/a.jpg"
}'
{
"status": "ok",
"retcode": 0,
"data": {
"result": 0,
"errMsg": "success"
},
"message": "",
"wording": "",
"echo": null
}