WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation retrieves a specific chat message from a chat session. It is useful for scenarios where you need to fetch detailed information about a particular message within a chat, such as for message auditing, processing, or displaying message content in an application. For example, you can use it to get the content and metadata of a message by specifying the session, chat ID, and message ID.

Use Case Examples

  1. Fetching a message by its ID to display its content in a dashboard.
  2. Downloading media attached to a chat message for further processing.

Properties

Name Meaning
Session The name of the chat session from which to retrieve the message.
Download Media Whether to download media associated with the message, if any.
Chat Id The unique identifier of the chat containing the message.
Message Id The unique identifier of the message to retrieve.
Request Options Additional options to customize the request such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • message - The retrieved chat message object including its content and metadata.

Dependencies

  • Requires an API key credential or authentication token to access the chat service.

Troubleshooting

  • Ensure the session, chat ID, and message ID are correct and exist; otherwise, the node may return errors or empty results.
  • If media download is enabled but media is not accessible, the node might fail or return incomplete data.
  • Timeout errors can occur if the server is slow or unresponsive; increase the timeout setting if needed.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.

Discussion