Edit a sent message
edit_messageCorrect a previously sent WhatsApp message within its edit window; recipients see an edited mark. Use only when the user asks to fix sent text.
Instructions
Edits the text of a message previously sent by this instance; the recipient sees an 'edited' mark. Only works on messages the instance sent, and only within WhatsApp's edit window. Use only when the user asks to correct a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New text. | |
| number | Yes | Recipient phone with country code, digits only (e.g. 5511999999999 for Brazil). For groups use the group JID ending in @g.us. | |
| message_id | Yes | Id of the sent message. | |
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. |