WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation allows editing a message in a chat session. It is useful for updating or correcting messages that have already been sent in a chat, such as fixing typos, adding additional information, or modifying content after the initial send. For example, a user can update a message in a customer support chat to provide more accurate information or correct an error.

Use Case Examples

  1. Editing a message in a customer support chat to update the response.
  2. Correcting a typo in a previously sent message in a team communication chat.

Properties

Name Meaning
Session The name of the chat session where the message exists.
Chat Id The unique identifier of the chat containing the message to be edited.
Message Id The unique identifier of the message to be edited.
Text The new text content to replace the existing message text.
Request Options Additional options for the request such as batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates if the message edit operation was successful.
  • messageId - The ID of the edited message.
  • chatId - The ID of the chat where the message was edited.
  • text - The updated text content of the message.

Dependencies

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

Troubleshooting

  • Ensure the session, chat ID, and message ID are correct and exist in the chat service.
  • Check network connectivity and proxy settings if requests fail.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Discussion