WAHA

Connect with Whatsapp HTTP API

Actions116

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, displaying message content in an application, or processing message data further. 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. Fetch a message from a customer support chat session to display the conversation history in a dashboard.
  2. Retrieve a specific message to analyze its content or attachments for automated 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, such as images or videos.
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, including batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

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

Dependencies

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

Troubleshooting

  • Ensure the session, chat ID, and message ID are correct and exist in the system to avoid 'message not found' errors.
  • If media download is enabled but media is missing or inaccessible, check media storage or permissions.
  • Timeout errors may 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