> This page is for English.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tgnow.cc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tgnow.cc/_mcp/server.

# Dialogs and cleanup

**Dialogs** tidies up chats, and everything in it is reversible. **Cleanup** deletes things that can't be brought back; all its actions are tagged **irreversible**. Service chats ("Telegram", @SpamBot, "Saved Messages") and [Sniper](/en/modules/sniper) channels are never touched.

## Dialogs

Actions come in pairs: **Archive dialogs** and **Unarchive**, **Mute** and **Unmute**, **Pin dialogs** and **Unpin dialogs**, plus **Mark dialogs as read**.

Shared filter: **Private**, **Groups**, **Channels**, **Bots** (all by default), **Unread only**, **Older than, days**, **Do not touch** and **Max dialogs** (100 by default, 500 at most).

* Telegram brings a chat with sound back out of the archive on a new message. Run **Mute** first, then archive.
* **Hours without sound**: 1–8760; empty means forever.
* You can pin 5 chats, 10 with Premium.

## Cleanup

* **Delete dialogs**.
* **Clear history**: messages are erased, chats stay. Channels aren't cleared.
* **Leave groups and channels**.
* **Delete old profile photos**: **Keep latest photos**, `1` by default. `0` deletes the current avatar too.
* **Cleanup preview**: counts what the action will touch without changing anything.

| Field                              | Default                                                                               |
| ---------------------------------- | ------------------------------------------------------------------------------------- |
| **Chat types**                     | Deleting and clearing: private chats and bots. Leaving: groups, supergroups, channels |
| **Exclusions**                     | Empty. `@username`, `t.me/username` or id, up to 200                                  |
| **Folder**                         | **All folders**                                                                       |
| **Inactive for, days**             | Empty                                                                                 |
| **Do not touch Inbox dialogs**     | On                                                                                    |
| **Include chats of other modules** | Off                                                                                   |
| **Max chats per account**          | 100, 300 at most                                                                      |

**Delete for both sides** erases the conversation for the other side too, only in private chats. Chats where the account is owner or admin are skipped unless you tick a separate checkbox. A retry is confirmed with a word: "УДАЛИТЬ", "ОЧИСТИТЬ" or "ВЫЙТИ" (in Russian, exactly as shown).

> **Warning**
>
> What's deleted can't be restored, and after leaving a private chat you can only get back in with a new invite. **Include chats of other modules** removes the protection from Chat spammer, Liking, Inviter, Parser and other chats: if the account leaves them, the module loses them.

A Cloner or Inviter chat set by an invite link is protected only after the module has worked in it. Until then, add it to **Exclusions** by id.

## Tips

* Before a big cleanup, run the preview on 2–3 accounts.
* Clean up in parts: Telegram meets hundreds of deletions in a row with FloodWait.
* Put your own channel and work groups into **Exclusions** right away.
* After a campaign, **Clear history** with **Inactive for, days** is often enough.