WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation allows users to unpin a specific message in a chat session. It is useful in scenarios where pinned messages need to be managed dynamically, such as unpinning outdated announcements or clearing pinned messages to highlight new important information. For example, in a customer support chat, an agent can unpin a resolved issue message to keep the chat interface clean.

Use Case Examples

  1. Unpin a message in a customer support chat to remove outdated information.
  2. Manage pinned messages in a team chat to keep the conversation relevant.

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 to customize the request such as batching, SSL certificate validation, proxy settings, and timeout duration.

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 API key credential or session authentication to access the chat service.

Troubleshooting

  • Ensure the session name, chat ID, and message ID are correct and correspond to existing entities.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Batching settings should be configured properly to avoid rate limiting or request throttling issues.

Discussion