WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation deletes a status message in a specified session. It is useful for managing and removing status updates or messages that are no longer needed or were posted by mistake. For example, a user can delete a status message by providing the session name and the status message ID.

Use Case Examples

  1. Deleting a status message from a specific session by providing the session name and the status message ID.
  2. Removing a status update sent to certain contacts by specifying the contact list.

Properties

Name Meaning
Session The name of the session from which the status message will be deleted.
Id The unique identifier of the status message to be deleted.
Contacts A JSON list of contacts to whom the status message was sent, used for targeting the deletion.
Request Options Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - The ID of the deleted status message.
  • session - The session name from which the status was deleted.
  • contacts - The list of contacts associated with the deleted status message.

Dependencies

  • Requires an API key credential or authentication token to access the session and perform status deletion.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the deletion will fail.
  • Verify the status message ID is valid and exists in the session.
  • If using contacts, ensure the JSON format is correct to avoid parsing errors.
  • Check network settings if using proxy or if SSL validation is disabled; misconfiguration can cause request failures.
  • Timeout errors may occur if the server is slow or unresponsive; increase timeout if necessary.

Discussion