Delete WhatsApp Message
whatsapp_delete_messageDelete a sent message from a WhatsApp chat, removing it for all participants with a confirmation.
Instructions
Delete (unsend) a message from a contact's chat.
Removes the message for everyone. WhatsApp shows "This message was deleted" in its place.
Args:
contactId: Contact id: phone digits for a person (e.g. "5521986910666"; survives @c.us↔@lid flips), or a group JID "*@g.us". Look up via whatsapp_list_contacts.
messageId: Message ID to delete
Returns confirmation of deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | Contact id: phone digits for a person (e.g. "5521986910666"; survives @c.us↔@lid flips), or a group JID "*@g.us". Look up via whatsapp_list_contacts. | |
| messageId | Yes | Message ID to delete |