Delete a WhatsApp message
delete_messageRetract or remove a message within the chat. Delete it for everyone globally (up to 2 days) or limit deletion to only linked devices.
Instructions
Delete a message; confirm with the user first. for_everyone: true retracts it for everyone within 2 days: the account's own message, or anyone's in a group where it is admin. for_everyone: false removes any message from the linked account's devices only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | ||
| message_id | Yes | ||
| for_everyone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| message_id | Yes | ||
| for_everyone | Yes |