WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation 'Unstar Message' interacts with the WARest WhatsApp REST API to remove the star mark from a specific message in a WhatsApp chat. It requires specifying the session, the recipient chat, and the message ID to unstar. This operation is useful for managing message highlights or bookmarks within WhatsApp conversations, allowing users to programmatically unstar messages that were previously starred.

Use Case Examples

  1. Unstar a message in a specific chat by providing the session ID, recipient chat ID, and message ID.
  2. Automate the removal of starred messages in bulk by iterating over message IDs and calling this operation.

Properties

Name Meaning
Session Identifier of the WhatsApp session to use for the operation, selected from existing sessions or entered manually.
Recipient / Chat (to) Phone number or JID of the chat where the message to unstar is located.
Message ID Unique identifier of the message to be unstarred within the chat.

Output

JSON

  • json - Response object from the WARest API indicating the result of the unstar message operation

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API with access to the specified session.

Troubleshooting

  • Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
  • Verify the recipient chat ID and message ID are correct and correspond to existing messages in the session.
  • Check API credentials and network connectivity to the WARest API server.
  • Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors returned from the WARest server indicating issues like unauthorized access or invalid parameters.

Discussion