Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Leave Group
- Delete Group
- Update Group Name
- Update Group Description
- Toggle Announcement Mode
- Lock Group Edits
- List Participants
- Add Participants
- Remove Participants
- Promote Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Profile Actions
- Server Actions
- Miscellaneous Actions
Messages - Actions → Edit Message
AI-generatedOverview
This node operation allows editing an existing WhatsApp message using the WARest WhatsApp REST API. It is useful for scenarios where you need to update the content of a previously sent message, such as correcting a typo or updating information. For example, you can change the text of a message sent to a chat or recipient by specifying the session, recipient, message ID, and the new message content.
Use Case Examples
- Updating a message text in a customer support chat to correct information.
- Changing the content of a notification message sent to a group.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier to use for the operation. You can select from existing sessions or enter a session ID manually. |
| Recipient / Chat (to) | The phone number or JID of the recipient or chat where the message to be edited was sent. It can be a single or comma-separated list of recipients. |
| Message ID | The unique identifier of the message to be edited within the chat. |
| New Message | The new text content that will replace the existing message content. |
Output
JSON
json- The response from the WARest API after editing the message, typically containing the updated message details or status.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; otherwise, the API call will fail.
- Verify the recipient or chat ID is correct and the message ID exists in that chat.
- The new message content must be provided and not empty; otherwise, the operation will not succeed.
- Check API credentials and network connectivity if requests fail.
Links
- WARest WhatsApp REST API - Official repository and documentation for the WARest WhatsApp REST API used by this node.
