message_delete
Delete a specific WhatsApp message from a chat, optionally for all participants and clear associated media.
Instructions
[Message] Delete a message from the chat
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | The chat id which contains the message | |
| everyone | No | If true and the message is sent by the current user or the user is an admin, will delete it for everyone in the chat. | |
| messageId | No | Unique WhatsApp identifier for the message | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| clearMedia | No | If true, any associated media will also be deleted from a device |