GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Chat → Set Disappearing Timer

AI-generated

Overview

This node operation sets the disappearing message timer for a specified chat in WhatsApp. It allows users to configure how long messages in a chat will remain visible before they disappear automatically. This is useful for managing privacy and message retention in individual or group chats.

Use Case Examples

  1. Setting a disappearing timer of 24 hours for a specific chat to ensure messages are automatically deleted after one day.
  2. Disabling disappearing messages in a chat by setting the timer to 'Off'.
  3. Setting a 7-day or 90-day disappearing timer for group chats to control message visibility duration.

Properties

Name Meaning
Device ID Optional device ID override that takes priority over the credential device ID if set.
Chat JID The unique identifier of the chat (e.g., phone@s.whatsapp.net for individual or groupid@g.us for group) where the disappearing timer will be set.
Timer The duration for the disappearing messages timer, specifying how long messages will remain before disappearing.

Output

JSON

  • chatJid - The chat identifier for which the disappearing timer was set.
  • timerSeconds - The duration in seconds for the disappearing messages timer that was applied.

Dependencies

  • Requires an API key credential for Go WhatsApp Web MultiDevice API with host URL configuration.

Troubleshooting

  • Ensure the Chat JID is correctly formatted and corresponds to an existing chat.
  • Verify that the device ID override, if used, is valid and authorized.
  • Check API credentials and host URL configuration to avoid authentication errors.
  • Common errors may include invalid chat identifiers or unauthorized device access, which can be resolved by verifying input parameters and credentials.

Discussion