Clear a chat's history
telegram_clear_historyDelete messages from a Telegram chat, either only from your copy or for everyone when revoke is enabled and you have permission.
Instructions
Delete messages from a chat. Defaults to your own copy only (revoke=false). revoke=true also removes them for everyone, which needs the rights to do so. Returns the message count Telegram reports as affected when it says.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| maxId | No | ||
| revoke | No |