Groups
Update Group Description
POST
/api/v1/group/topicChange the group description.
Parameters
- GroupJIDstringRequired
The group id, ending in @g.us.
- TopicstringRequired
The new group description.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupJID | string | Yes | The group id, ending in @g.us. |
| Topic | string | Yes | The new group description. |
Code Examples
cURL
curl -X POST "https://orvachat.com/api/v1/group/topic" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"GroupJID": "[email protected]",
"Topic": "Orders and support"
}'Response Example
200 OK
{
"code": 200,
"data": {
"Details": "Group Topic set successfully"
},
"success": true
}