GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Message → Revoke Message

AI-generated

Overview

This node operation allows users to revoke a previously sent message in a chat or group conversation using the Go WhatsApp Web MultiDevice API. It is useful in scenarios where a message needs to be withdrawn or deleted after being sent, such as correcting mistakes or retracting information. For example, a user can revoke a message by specifying the phone number or group ID and the message ID to be revoked.

Use Case Examples

  1. Revoke a message sent to a private chat by providing the recipient's phone number and the message ID.
  2. Revoke a message sent in a group chat by providing the group ID and the message ID.

Properties

Name Meaning
Device ID Optional device ID override. If set, it takes priority over the credential device ID.
Phone Number or Group ID Phone number (for private chat) or Group ID (for group chat) to identify the chat where the message was sent.
Message ID ID of the message to be revoked.

Output

JSON

  • json - The response from the API after attempting to revoke the message, typically including success or error details.

Dependencies

  • Requires an API key credential for the Go WhatsApp Web MultiDevice API, including host URL and authentication details.

Troubleshooting

  • Ensure the device ID is correctly set or overridden if needed, as incorrect device ID may cause operation failure.
  • Verify that the phone number or group ID and message ID are correct and correspond to an existing message.
  • Common errors may include 'Unknown resource' if the resource parameter is incorrect, or API errors if the message cannot be revoked due to permissions or message state.

Discussion