Delete messages
deleteDelete specified messages from a Telegram chat permanently, with option to remove for all participants. Requires confirmation to execute.
Instructions
Delete one or more messages. This cannot be undone, and with revoke it removes them for everyone in the chat, not only for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | The chat the messages are in. | |
| revoke | No | Delete for everyone, not just this account. Default true. | |
| confirm | No | Must be true for this to run. This cannot be undone, so it is refused without it. | |
| message_ids | Yes | Ids to delete. |