telegram_archive_forget
Erase a Telegram chat's archived messages from local storage using its marked chat ID. Idempotent; returns forgotten false if nothing was stored.
Instructions
Effect local_write. Use when the user wants one chat's archived messages erased from this machine. Do not use this to leave the chat on Telegram; call telegram_plan_leave_chat, or telegram_archive_status to see what is stored first. Deliberately not gated on the read allowlist: a chat just removed from it is precisely the one whose copy on disk ought to go, and refusing would strand personal data with no way to remove it. Idempotent — forgetting a chat that was never archived reports forgotten: false rather than failing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label to use. Omit when exactly one account is configured. | |
| chat_id | Yes | Marked chat id to erase from the archive, as `archive status` reports it. An id and not a @username or a link: deleting local data must not depend on Telegram resolving anything, or a chat that has since been left could never be erased. |