orvachat

Groups

Update Group Picture

POST/api/v1/group/photo

Change the group photo (base64 JPEG).

Parameters

  • GroupJIDstringRequired

    The group id, ending in @g.us.

  • ImagestringRequired

    The new photo as a base64 JPEG data URL.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/group/photo" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "GroupJID": "[email protected]",
  "Image": "data:image/jpeg;base64,/9j/4AAQ…"
}'

Response Example

200 OK
{
  "code": 200,
  "data": {
    "Details": "Group Photo set successfully",
    "PictureID": "1222332123"
  },
  "success": true
}