Set disappearing messages
set_disappearing_timerTurn disappearing messages on or off for a specific chat or set the default timer for new chats. Existing messages remain stored.
Instructions
Turn disappearing messages on or off: for one chat with chatId, or without it the account's default timer, which new chats start with. Messages already stored in wuapi are kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | The chat (a contact or group id). Omit it to set the account's default for new chats. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). | |
| durationSeconds | Yes | How long messages last: 86400 (24 hours), 604800 (7 days) or 7776000 (90 days). 0 turns disappearing messages off. |