WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation unpins a specific message in a chat session. It is useful in scenarios where you want to remove the pinned status from a message in a chat, such as managing chat highlights or updating chat content visibility. For example, in a customer support chat, you might unpin an outdated announcement message to keep the chat relevant.

Use Case Examples

  1. Unpin a message in a customer support chat to update the pinned information.
  2. Remove a pinned message in a team chat to highlight a new important message.

Properties

Name Meaning
Session The name of the chat session where the message is located.
Chat Id The unique identifier of the chat containing the message to unpin.
Message Id The unique identifier of the message to be unpinned.
Request Options Additional options for the request such as batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates whether the unpin operation was successful.
  • messageId - The ID of the message that was unpinned.
  • chatId - The ID of the chat where the message was unpinned.

Dependencies

  • Requires an active session with the chat service, authenticated via session name.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the node cannot access the chat.
  • Verify that the chat ID and message ID are valid and correspond to existing entities in the chat service.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if network requests fail due to connectivity issues.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout value if needed.

Discussion