edit_message
Replace a previously sent WhatsApp message with new text within the 15-minute edit window. Only your own messages can be changed and recipients see the updated content.
Instructions
Edit a previously-sent text message in place; recipients see the new body with an edited label. Only your own messages can be edited and only within WhatsApp's edit window (~15 minutes). Re-edit by calling again with another new_body; to remove the message entirely use delete_message (revoke). Returns the plain-text string Message edited on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_jid | Yes | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` | |
| message_id | Yes | WhatsApp message ID of your own message to edit (use `message_id` from list_messages) | |
| new_body | Yes | replacement message body text |