edit_message
Edit a sent text message to update its content. Recipients see the new body with an 'edited' label. Only your own messages are editable within the time limit.
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` | |
| new_body | Yes | replacement message body text | |
| message_id | Yes | WhatsApp message ID of your own message to edit (use `message_id` from list_messages) |