Clean up your Telegram presence — delete old messages, reactions, and leave groups you no longer need.
- Delete your messages from any group, supergroup, or channel
- Delete your reactions
- Export messages to plaintext before deleting
- View messages in a built-in paginated viewer
- Find channels/supergroups you already left and clean those too
- Multi-account support
- FLOOD_WAIT handling — won't get you rate-limited
brew install anik1ng/tap/tgmsgcleaner
Download the binary from Releases, extract, and run in your terminal.
go install github.com/anik1ng/tgmsgcleaner/cmd/tgmsgcleaner@latest
- Get
api_idandapi_hashat my.telegram.org/apps - Run
tgmsgcleaner - Enter credentials and auth code on first run
Config stored in ~/.config/tgmsgcleaner/.
Use --reset to wipe all settings and accounts.
| Key | Action |
|---|---|
Enter |
Open action menu for selected group |
Tab / Shift+Tab |
Switch filter |
/ |
Search |
l |
Find left channels |
a |
Add account |
s |
Switch account |
? |
Help |
q |
Quit |