Message cleanup

Live

Message cleanup

Message cleanup settings: automatic removal of service messages, admin commands and command noise.

Tip: change one option at a time and verify the result in the group so false positives are easy to spot.

In short

Cleanup keeps the chat readable by removing Telegram service messages and selected commands.

How it works

  1. Telegram creates a service message or a bot command appears in chat.
  2. Defendy identifies its category and checks the corresponding cleanup switch.
  3. If enabled and permitted, that message is deleted without changing the member's moderation state.

Set it up step by step

  1. Open Defendy in Telegram and choose the group you want to configure.
  2. Compare the current values with the defaults explained below.
  3. Change one option at a time; use the least disruptive value that meets your goal.
  4. Check the result in the group after saving.

Every setting explained

Join messages

Default: Off.

Automatically deletes join messages when Telegram creates them in chat.

Leave messages

Default: Off.

Automatically deletes leave messages when Telegram creates them in chat.

Title changes

Default: Off.

Automatically deletes title changes when Telegram creates them in chat.

Photo changes

Default: Off.

Automatically deletes photo changes when Telegram creates them in chat.

Pin messages

Default: Off.

Automatically deletes pin messages when Telegram creates them in chat.

Boost messages

Default: Off.

Automatically deletes boost messages when Telegram creates them in chat.

Video chat messages

Default: Off.

Automatically deletes video chat messages when Telegram creates them in chat.

Checklist messages

Default: Off.

Automatically deletes checklist messages when Telegram creates them in chat.

Forum topic messages

Default: Off.

Automatically deletes forum topic messages when Telegram creates them in chat.

Giveaway messages

Default: Off.

Automatically deletes giveaway messages when Telegram creates them in chat.

Admin commands

Default: Off.

Automatically deletes admin commands when Telegram creates them in chat.

All commands

Default: Off.

Automatically deletes all commands when Telegram creates them in chat.

Practical example

Delete join, leave and Defendy command messages first. Leave “all commands” off if members use commands for other bots, then verify one message of every selected type.

Recommendations

  • Be careful with all-command cleanup: it may remove commands used by other bots.
  • Admin command cleanup is usually safe for public groups after moderators know it is enabled.

Troubleshooting

  • Check that Defendy is still an administrator in the group.
  • Refresh the settings panel and make sure you are editing the correct group.
  • If a setting is saved but does not work, check the bot permissions in Telegram.
  • If you are not sure what happened, open the moderation log.

Need help?

If a setting behaves differently than expected, contact support.@ubotz