Why group spam is hard to filter
Scam messages mutate: zero-width characters inside words, emoji letters, Cyrillic lookalikes in Latin words and the reverse, leet substitutions. A naive keyword filter sees a different string every time. Worse, the honest majority of messages that mention money, wallets or DMs are real people talking. Recall and precision pull against each other, and a wrong deletion costs you a member.
What TG Filter does about it
Every message is normalized before anything matches it, so obfuscation stops being a free pass. Then independent evidence is gathered: multilingual scam phrases, URLs checked against the OpenPhish reputation feed, and cross-group campaign history for repeated blasts. Only messages that remain ambiguous are sent to a judge, which answers a typed yes/no question with a probability.
What happens on a verdict
Delete: the bot removes the message (it needs admin with the delete-messages permission). Review: nothing is deleted; the message is kept and logged for a human or a higher-tier judge. Allow: untouched. Every verdict carries reason codes and is recorded, so a deletion can always be explained and appealed.
Quick start
- 1. add @tgfilt_bot to your group
- 2. make it admin with "delete messages"
- 3. that's it: decisions appear in your dashboard
Prefer your own tooling? The same verdicts are available over the HTTP API: POST /moderate with the message as the body.