inbox_done
Archive processed chat messages to remove redundant downloaded copies and free disk space after hashes confirm they are stored safely.
Instructions
Mark messages as archived, which deletes their downloaded copies.
Call this only after the messages are in the archive with their hashes: the buffer copy of a file is redundant from that moment and is what actually grows on disk. Each key is {"chat_id": int, "message_id": int}. Rows survive for the configured TTL so a mistake stays recoverable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes |