orvachat

Groups

Set Disappearing Messages

POST/api/v1/group/ephemeral

Disappearing messages: 24h, 7d, 90d or off.

Parameters

  • groupjidstringRequired

    The group id, ending in @g.us.

  • durationstringRequired

    How long messages stay: 24h, 7d, 90d, or off.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/group/ephemeral" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "groupjid": "[email protected]",
  "duration": "24h"
}'

Response Example

200 OK
{
  "code": 200,
  "data": {
    "Details": "Disappearing timer set successfully"
  },
  "success": true
}