Groups
Set group picture
Replace the group picture.
Provide the image as file_data_url (base64 data URL, PNG/JPEG, ≤20 MiB) or url (https). You can also upload a file as multipart/form-data with a file part. Requires groups:write.
In the Body panel, the Attach a file control has a content-type dropdown:
application/jsoninlines the file as base64 infile_data_url, ormultipart/form-datauploads the raw file — then press Send.
Request
curl -X PUT "https://api.blueticks.co/v1/groups/string/picture" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"data": {
"id": "string",
"name": "string",
"description": "string",
"owner": "string",
"created_at": "2019-08-24T14:15:22Z",
"last_message_at": "2019-08-24T14:15:22Z",
"participant_count": 0,
"announce": true,
"restrict": true,
"participants": [
{
"chat_id": "string",
"is_admin": true,
"is_super_admin": true,
"name": "string"
}
]
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"request_id": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
]
}
}Path Parameters
id*string
Request Body
application/json
Response
Response Body
application/json
application/json