batch_cleanup
Deletes completed batch ledgers past retention, keeping incomplete attempts as duplicate-send evidence. Cleans local text and file paths only; does not delete Telegram messages or attachments.
Instructions
Delete completed batch ledgers older than the configured retention period, or the explicitly supplied positive number of days. Incomplete and unconfirmed attempts are always retained because deleting them would erase duplicate-send evidence. This removes local message text and file paths; it does not delete Telegram messages or attachment files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| older_than_days | No |