Actions122
- Broadcast Actions
- Business Actions
- Call Actions
- Chat Actions
- Community Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Newsletter Actions
- Privacy Actions
- Profile Actions
- User Actions
Message → Edit
AI-generatedSummary
Edits a WhatsApp message by sending replacement text for the target message in the specified chat. Provide the recipient JID, message ID, whether the original message was sent by you, and the new text.
Inputs
- jid (required) — Recipient or group JID, such as 12025551234@s.whatsapp.net or groupid@g.us.
- messageId (required) — ID of the message to edit.
- messageFromMe — Whether the target message was sent by you. Defaults to false in the UI; the operation uses true if this value is absent.
- newText (required) — Replacement text for the edited message.
Output shape
A single item containing the result of the WhatsApp sendMessage call as JSON.
If the call returns null or undefined, the JSON body is an empty object.