Actions21
- Message Actions
- Group Actions
- Chat Actions
- Contact Actions
Message → Edit Message
AI-generatedOverview
This node operation allows editing an existing WhatsApp message using the Green API. It is useful when you need to update the content of a previously sent message, for example, to correct a typo or add additional information.
Use Case Examples
- Updating the text of a message sent to a customer to provide corrected details.
- Changing the content of a message in a group chat to reflect new information.
Properties
| Name | Meaning |
|---|---|
| Message ID | The unique identifier of the message to be edited. |
| New Message | The updated text content that will replace the original message text. |
Output
JSON
idMessage- The ID of the edited message.message- The updated message text after editing.chatId- The chat ID where the message was edited.status- The status of the edit operation, indicating success or failure.
Dependencies
- Requires Green API credentials including instance ID and API token for authentication.
Troubleshooting
- Common errors include failure to find the message ID or invalid API credentials. Ensure the message ID is correct and the API credentials are valid.
- Errors during the edit operation will include the data sent for easier debugging. Check the error message and the data payload to resolve issues.