

This article was translated from Chinese by ChatGPT 5.
Ad block bot#
It’s been a long time since I last wrote a personal blog, and my writing skills have gotten a bit rusty. This article may contain awkward phrasing or stray from the main topic—please forgive me for that.
Unified Anti-Spam Bot does not support pornography, gambling, or drug-related channels.
Preface#
As everyone knows, spam bots are really annoying, no matter where they appear. Since Telegram provides a convenient API for bots, I created an advertising spam filter bot on Telegram.
The first version was made around April this year, when I got access to some computing resources from Google, which allowed me to set up a locally hosted spam filter bot.
However, for various reasons, it was left abandoned. Taking advantage of the hot summer, I reworked and rewrote version 2 of the anti-spam bot. This bot isn’t particularly technically advanced—its main challenge is reducing false positives. I believe this version has improved significantly in that regard compared to the previous one.
In addition, in terms of business logic, the new version of the anti-spam bot is more stable. If anyone wants to use it, please refer to the instructions at the end of this article on how to add the bot to your group and activate it.
Logic#
In short, this advertising spam filter bot is built using LLMs. The first version ran locally (on a local server), while the current version uses API calls.
Watchlist#
When a new user joins a group, the Unified Anti-Spam Bot first checks their profile, then determines a watchlist duration based on their profile.
Scan#
All users on the watchlist are automatically scanned to detect advertisements. If spam is detected, the bot carries out one of the following actions depending on the settings defined by the group owner/admins:
- Hard (default) – Delete the spam message, ban the user, and remove them from the group.
- Soft (optional) – Only delete the spam message.
All processed spam will then be posted to the Unified Anti-Spam Bot’s public channel for community voting.
Verify#
All ads that appear in the public channel are subject to public voting. After 72 hours, results are finalized. If a message receives a majority of 👍 votes, the user is added to the unified blacklist.
Any user on the unified blacklist will be automatically removed from all groups that have installed the Unified Anti-Spam Bot—either when they try to join or when they send a message.
How to Invite the Unified Anti-Spam Bot?#
Username: @AISpamCheck_bot
First, send an email to: klaxons-thorax0k@icloud.com
-
Title: Unified Anti-Spam Bot Application
-
Body:
plaintextGroup link <link> My Telegram username <@username> Group owner username <@username>
⚠️ Please make sure to replace the < > placeholders with actual content, but do not add anything else. The bot will automatically review and activate the group. If the format is incorrect, activation may be delayed.
Paid Groups#
Since the Unified Anti-Spam Bot is completely free, it incurs costs on my end. If you’d like better service or faster response times, you can support me by buying me a cup of milk tea. I will reply to you through that channel afterward.
Support#
The Unified Anti-Spam Bot supports fully customized services. If you want to add the bot but don’t want it to be publicly identifiable as ours, you can contact me by email.
-
Title: Unified Anti-Spam Bot Customization
-
Body:
plaintextGroup link <link> My Telegram username <@username> Group owner username <@username> Request "<request>" Budget <usd>
⚠️ Please replace the < > placeholders with your details, but do not add anything else.
⚠️ The request must be written inside double quotation marks.
⚠️ The budget should be in USD. Custom services start at 5 per month for ongoing maintenance.