Delete any new Telegram message that contains a document or media after 7 days

Say goodbye to cluttered chats. Make your group or channel instantly smarter by auto-removing media and docs after a week—so you never have to think about it again.

  • Instantly when the trigger is activated
  • Instantly when receiving a message, image, video or file (telegrambot → webhook_txtimgdoc)
  • Check if meets specific conditions (btzfilters → process)
  • Pause a task for a predefined time period (btzpauseresume → delay)
  • Delete a message (telegrambot → delete_message)

Managing busy Telegram groups or channels can quickly become chaotic when they fill up with documents, images, and multimedia messages. Manually tracking and clearing out these files after a certain time is tedious—and if you forget, your group risks becoming cluttered and hard to navigate. Not automating this process means wasted hours cleaning up, increased risk of sensitive files lingering longer than intended, and possible storage issues, all while your members struggle to find what matters most.

This Botize formula ensures your Telegram stays tidy without lifting a finger. Whenever someone shares a document or multimedia message, the automation sets a timer—for example, seven days—and then automatically deletes the message after that period. It's entirely up to you: adjust the deletion window to any timeframe that fits your moderation policy or privacy needs. The transformation is instant: your Telegram remains organized, important threads stay visible, and no one has to play janitor. Members see a professionally managed group, boosting trust and participation.

Ready to clear the clutter for good? Follow the simple step-by-step to set up this formula in Botize, or use the pre-built configuration to get started right away. Customize the frequency, types of files, or filter rules as needed. Take back your time, keep your group fresh, and let Botize handle the cleanup—so you can focus on what really matters!

Start using this automation

It's ready to go. Choose how to set it up in your account.

Open it in the Botize editor

Load it into your account and customize it in the visual panel, with everything in view.

Open it in Claude or ChatGPT

Copy this and paste it into ChatGPT or Claude (with the free Botize connector): it'll load the automation, tailor it with you and save it to your account.

Not connected yet? Claude guide · ChatGPT guide


Keep Your Telegram Clean on Autopilot

Here’s how it works, zero jargon: Every time someone drops a photo, video, or document in your Telegram group or channel, this automation sets a timer. Exactly 7 days later? Poof—those files are deleted. No hunting, no manual cleanups, just an always-tidy space. And yes, you can tweak the waiting period if your group has its own rhythm.

Manual Botize
Manually searching for old media messages per week 30 minutes 0 Minutes
Selecting and deleting each file 15 minutes 0 Minutes
Reminding group members and checking for forgotten files 10 minutes 0 Minutes
Total 55 minutes 0 Minutes

Looking for a way to forget about old files piling up in your Telegram and want it gone without lifting a finger? Yep, you’re in the right place.


Big Community Clean-Up

You manage a Telegram group where people share tons of memes, event flyers, or brochures. This automation keeps it from turning into a digital attic—stuff vanishes after 7 days.

Set & Forget

Clean chats, no reminders or check-ins needed.

Effortless Privacy

Old files don’t linger, keeping your community safer.

Fresh Every Week

Conversations feel current, never bogged down by old stuff.


Sensitive Projects

Your team collaborates in a channel, but you don’t want docs lingering forever. Now, confidential files simply self-destruct a week after posting.

🧹

⌾︎ You run busy Telegram groups and want to stop worrying about old documents eating up space.

⌾︎ You care about privacy and want sensitive media to disappear automatically.

🙅‍♂️

✕ You use Telegram only for private one-on-one chats or just to lurk.

✕ You never share files or media in your chat—only straight-up texting.


✓ Easily set the waiting time before messages are deleted—make it 1 day, 30 days, or anything in between.

✓ Choose which groups or channels get this treatment (customize per group if you need).

✓ Select to auto-delete only certain media types—like videos only, or documents only.




This automation runs whenever a new message arrives in the group or channel where your Telegram bot is present. The task detects messages that contain any document, attachment, or media content and automatically deletes them 7 days after they are posted. You can adjust the waiting time according to your needs. Be sure to customize the settings to define the exact delay before deletion.

Related automations

Other ready-to-use automations you may find useful.