ZAPIN icon

ZAPIN

Interact with Zapin EVO

Chat → Update Message

AI-generated

Overview

This node operation allows updating an existing chat message in a specified chat instance. It is useful for scenarios where a previously sent message needs to be edited, such as correcting typos or updating information. For example, a user can update a message by specifying the instance name, the contact number, the message ID of the message to be edited, and the new message text.

Use Case Examples

  1. Updating a message in a chat instance to correct a typo.
  2. Changing the content of a previously sent message to provide updated information.

Properties

Name Meaning
Instance Name The name of the chat instance where the message exists.
Contact The contact number associated with the chat where the message is located.
Message ID The unique identifier of the message to be edited.
New Message The new text content that will replace the existing message text.

Output

JSON

  • success - Indicates whether the message update was successful.
  • updatedMessageId - The ID of the message that was updated.
  • updatedText - The new text content of the updated message.

Dependencies

  • Requires an API key credential to authenticate with the Zapin EVO API.

Troubleshooting

  • Ensure that the instance name, contact number, and message ID are correctly specified; incorrect values will cause the update to fail.
  • The node may throw an error if the specified message ID does not exist or if the user does not have permission to edit the message.
  • Check API authentication credentials if the node fails to connect to the Zapin EVO service.

Discussion