Bulk delete messages, clear spam floods, and clean up bot command clutter. Fast, efficient, and safe bulk message management for admins dealing with large volumes of unwanted content.
Telegram groups accumulate clutter. Members trigger bot commands that leave behind response messages. Spam attacks leave dozens of junk messages before the spammer is stopped. Conversations go off topic and create long threads that bury the important discussions. Service messages from people joining and leaving pile up in the chat history. All of this clutter makes the group harder to read, harder to moderate, and less appealing to new members who scroll through the history to get a sense of the community.
Telegram's built in message deletion is one message at a time, which is impractical when you need to remove dozens or hundreds of messages. An admin clicking delete on each individual message would spend hours on a task that should take seconds. BotWave's purge and clean up commands solve this by enabling bulk deletion, letting admins remove large numbers of messages quickly and efficiently, so the group can be restored to a clean state in moments rather than hours.
The /purge command deletes a specified number of recent messages. Type /purge 50 and the bot deletes the last 50 messages from the chat, starting from the most recent and working backwards. This is the fastest way to clean up after a spam attack, a bot command flood, or an off topic conversation that needs to be removed. The deletion is nearly instantaneous, and the messages are removed for all members, not just the admin who issued the command.
The purge command is designed to be safe as well as fast. It will not delete messages from admins or from the bot itself, to prevent accidental removal of important content. It also respects Telegram's rate limits, so even when purging a large number of messages, the operation completes without hitting API limits or causing errors. The /purge command also logs the purge action to the log channel, creating a record of what was removed and by whom.
The /purgeuser command deletes all recent messages from a specific user. This is useful when a single member has posted a large number of messages that need to be removed, such as a spammer who posted many messages before being banned, or a member who went on a rant that the admin team has decided to remove. Instead of deleting each message individually, the admin types /purgeuser @username and all recent messages from that user are deleted in one operation.
This targeted purge is more precise than purging by count, because it only removes messages from the specified user while leaving all other messages intact. This means the rest of the conversation stays visible, and only the problematic content is removed. This is particularly important in active groups where a blanket purge would delete legitimate messages alongside the spam, which would be unfair to members whose messages were not problematic.
Bot commands create a specific type of clutter that is unique to groups with active bots. When a member types a command, the bot responds, and both the command message and the response remain in the chat. Over time, these command response pairs accumulate and clutter the conversation, especially in groups where commands are used frequently. The /cleancommand command toggles automatic cleanup of command messages, so that after a command is executed and the response is sent, the original command message is automatically deleted.
This keeps the chat focused on human conversation rather than bot interactions. Members who use commands still receive their responses, but the command itself does not persist in the chat history. The /cleanservice command does the same for service messages, automatically deleting the join and leave notifications that Telegram generates when members enter or exit the group. For groups that want a clean, conversation focused appearance, these automatic cleanup options are essential.
Welcome messages are valuable for new members, but they accumulate quickly in active groups. If your group receives 50 new members per day, that is 50 welcome messages per day cluttering the chat. The /cleanwelcome command toggles automatic cleanup of old welcome messages, so that when a new welcome message is sent, the previous one is automatically deleted. This keeps the chat focused on the current conversation rather than being filled with welcome messages from members who joined hours or days ago.
This is one of the most impactful cleanup settings for growing groups. Without it, the chat becomes a wall of welcome messages that members have to scroll past to find actual conversations. With it, the chat stays clean and focused, and the most recent welcome message is still visible for the newest member without being buried by older ones.
| Command | Arguments | Description |
|---|---|---|
| /purge | <count> | Delete N recent messages. |
| /purgeuser | <user> | Delete all recent messages from a user. |
| /del | Delete the replied to message. | |
| /cleancommand | <on|off> | Auto delete command messages after execution. |
| /cleanservice | <on|off> | Auto delete service messages (join/leave). |
| /cleanwelcome | <on|off> | Auto delete old welcome messages. |
Bulk purge, targeted deletion, and automatic cleanup of commands, service messages, and welcome text. Your group stays readable and focused.