WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation allows editing a message in a chat session. It is useful for updating the content of a previously sent message, such as correcting a typo, adding additional information, or modifying the message text after it has been sent. Practical examples include updating a customer support chat message or modifying a notification message in a chat application.

Use Case Examples

  1. Editing a message in a customer support chat to correct information.
  2. Updating a notification message in a team chat to reflect new details.

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 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

  • Common issues include invalid session, chat ID, or message ID resulting in failure to locate the message to edit.
  • Timeout errors if the server does not respond within the configured timeout period.
  • SSL certificate validation errors if the server's SSL certificate is invalid and 'Ignore SSL Issues' is not enabled.
  • Proxy misconfiguration leading to failed requests.

Discussion