Tutorial

Anti-spam,
for Telegram groups.

Use The Feed Reader Bot to filter messages in Telegram groups, restrict members, remove join/leave messages and block forbidden words or patterns.

🛡

Filter spam before it stays visible

Configure logging, member restrictions and blacklist rules from a dedicated webpage.

Anti-spam configuration

Protect a Telegram group

The Feed Reader Bot can filter messages sent to Telegram groups. First, configure your group in the bot, then open the anti-spam configuration page.

Setup

Open the anti-spam configuration page

  1. Configure your group in The Feed Reader Bot first: how to configure a group.
  2. Type /group NameOfYourGroup in the bot.
  3. Then type /spam.
  4. Open the anti-spam configuration webpage provided by the bot.
Launch anti-spam configuration command
Send /spam for the selected group.
Anti-spam general configuration webpage
Open the configuration webpage.
General configuration

Logging and join/leave messages

In the General section, you can enable logging. When logging is enabled, the bot sends a message when it removes a spam message.

Log messages can be automatically deleted after a specific period with Remove log messages after. The log message can also contain a link to the original message with Display link to original message.

The bot can also delete all join and leave messages with Disable join/leave messages.

Anti-spam log message after deleting spam
Example log after spam removal.
Anti-spam original message log page
Original message log page.
Telegram join message example
Example of a join message.
Restrict members

Limit what members can send

In these sections, you can restrict new members for a specific period of time, and/or restrict all members.

  • For new members, choose what they are allowed to send: text messages, images, and more.
  • For all members, choose what is prohibited in your group.
Anti-spam member restriction settings
Restriction settings for new members and all members.
Blacklist

Block forbidden words or regular expressions

In this section, you can configure a blacklist of forbidden words. Put each word or regular expression on a different line.

bitcoin

#.+

With these rules, all messages containing bitcoin, or any hashtag beginning with #, will be removed.

Useful regular expressions

Remove Arabic characters: \p{IsArabic}

Remove Chinese characters: \p{IsCJKUnifiedIdeographs}

Allow only messages containing Latin characters: [^\u0000-\u024F]+

See the list of special character groups in the Microsoft documentation.

Anti-spam blacklist configuration
Blacklist settings with forbidden words or regex rules.

Need help?

If you have any trouble, ask for help in the support group.

Open support group