Actions43
- Session Actions
- Chat Actions
- User Actions
- Group Actions
Group → Set Ephemeral
AI-generatedSummary
Set disappearing messages timer for a group
Inputs
- groupJid (required) — JID of the group to set ephemeral timer.
- ephemeralDuration (required) — Duration for disappearing messages; one of 'off', '24h', '7d', '90d'.
Output shape
success response with no body
The operation returns a confirmation; errors are thrown unless continueOnFail is enabled.
Examples
Example 1: Set ephemeral duration to 24 hours
groupJid: '123456789@g.us', ephemeralDuration: '24h'
Example 2: Disable ephemeral timer
groupJid: '123456789@g.us', ephemeralDuration: 'off'
Example 3: Set ephemeral duration to 7 days
groupJid: '123456789@g.us', ephemeralDuration: '7d'
