Actions50
- Account Actions
- Group Actions
- Journal Actions
- Queue Actions
- Sending Actions
- Service Actions
- Status Actions
- Receiving Actions
Service → setDisappearingChat
AI-generatedSummary
Set the disappearing message feature for a specified chat in WhatsApp.
Inputs
- chatId (required) — The ID of the chat where you want to set disappearing messages, formatted as '79000000000@c.us'.
- ephemeralExpiration (required) — The duration for which messages will disappear after being read, specified in seconds (e.g., 0 for off, 86400 for 24 hours).
Output shape
no body — success/failure only
Returns no body upon success; handles invalid chatId gracefully.