Skip to content
OnlyTG Icon
  • ProductsExpand
    • Echo
    • Recorder
  • ResourcesExpand
    • Help
    • Blog
  • PricingExpand
    • Echo Pricing
  • EnglishExpand
    • 中文 (中国)
    • Русский
    • English
Contact us

OnlyTG Echo

  • Introduction
  • How to start
  • Chatbots
    • Message Receive and Reply
    • Set Start Message
    • Set Auto-reply and keywords-based reply
    • Set Quick Reply
    • Create Broadcast Task
    • Tracking Links
  • Channels
    • Channel Management
    • Channel Post
    • Channel Post Edit
    • Pro Communities – Channel
    • Loop Post on Telegram Channels
  • Groups
    • Group Management
    • Group CAPTCHA
    • Group Greeting
    • Group Rules
    • Keywords Reply for Group
    • Pro Communities – Group
    • Group Post and Loop Post
  • Others
    • Change to Topic Mode
    • Multimedia Messages
    • Set and use content module
    • Edit bot infomation
    • View my bot’s statistics

OnlyTG Recorder

  • Introduction
  • Record Message and Foward
  • Save Record
  • Lock Record
  • Edit Record Title
  • Timezone
View Categories
  • Home
  • Docs
  • Group Rules

Group Rules

10 min read

OnlyTG Echo provides the function to set rules for group via your bot.

Video Tutorial

step 1

Send /start to your Bot, select Group Setting, then choose your Group. (See previous tutorials for how to add a Group)

Group Rules
Group Rules
Group Rules

Select Group Rules. Here you can set Message Rules / Anti-spam / Anti-bots for your group.

Group Rules
Group Rules

step 2

Message Rules

Now let’s set up Message Rules. Click Message Rules, you can set up 7 types of rules in total, and we will introduce them one by one.

Group Rules
Group Rules

1. Prohibited Words

This rule will be triggered when members sends a message containing Prohibited Words in the group.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Click Add Prohibited Words, then send the prohibited words directly to add them successfully.

Group Rules
Group Rules

Click Check All Prohibited Words to view all added prohibited words.

Group Rules

Click Remove Prohibited Words to select prohibited words, and click Confirm Delete to delete prohibited words.

Group Rules
Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

2. Service Messages

It can automatically delete system service messages sent by official Telegram, such as alerts for members joining or leaving the group.

Group Rules
Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

3. Telegram Links

This rule will be triggered when members sends a message in the group containing links starting with t.me or @username.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

Exclusion: You can add excluded content. Excluded content will not be restricted by this rule.

Group Rules

Send in the format @xxxx to add excluded content.

Group Rules

Click Remove to delete the added excluded content.

Group Rules
Group Rules

Click Check the Exclusion to view the added excluded content.

Group Rules

4. Other Links

This rule will be triggered when members sends a message in the group containing non-telegram links.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

Exclusion: You can add excluded content. Excluded content will not be restricted by this rule.

Group Rules

Send in the format [https://xxxx] or [http://xxxx] to add excluded content.

Group Rules

Click Remove to delete the added excluded content.

Group Rules
Group Rules

Click Check the Exclusion to view the added excluded content.

Group Rules

5. Forward Messages

This rule will be triggered when members forwards messages from elsewhere to the group.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

Exclusion: You can add excluded sources, including Accounts, Bots, Channels or Groups. Members will not be restricted by this rule when forwarding messages from excluded sources.

Group Rules

Send the target source’s username in the form of [@XXXX] to add excluded sources.

Group Rules

Click Remove to delete the added excluded sources.

Group Rules
Group Rules

Click Check the Exclusion to view the added excluded sources.

Group Rules

6. Quote Messages

This rule will be triggered when members quotes messages from elsewhere to the group.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

Exclusion: You can add excluded sources, including Accounts, Bots, Channels or Groups. Members will not be restricted by this rule when quote messages from excluded sources.

Group Rules

Send the target source’s username in the form of [@XXXX] to add excluded sources.

Group Rules

Click Remove to delete the added excluded sources.

Group Rules
Group Rules

Click Check the Exclusion to view the added excluded sources.

Group Rules

7. Overlength Messages

This rule will be triggered when members sends a message in the group that is over the specified max length.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Max length: Set the max message length. Click and send the length to complete the setting.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules
Anti-spam

This rule will be triggered when members spams messages in the group in a short time.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Max Message: Set the maximum number of messages allowed within the set time period here.

Group Rules
Group Rules

Time: Set the time period for message calculation here.

Group Rules
Group Rules

Delete Message: Automatically delete messages that violate the rules. Click to turn this function on or off.

Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

Group Rules

Anti-bots

When enabled, other bots joining the group will be automatically kicked out.

Group Rules

Click Allow to enable it. Click Prohibited again to disable it.

Group Rules
Group Rules

Penalty: Click to enable and select the penalty type.

Group Rules

a. Warn: Warn members who violate the rules.

Group Rules
Group Rules

b. Kick: Kick members who violate the rules from the group. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

c. Mute: Mute members who violate the rules. Supports the Penalty on 2nd Offense option.

Click Mute Duration to select the mute period. 

Group Rules
Group Rules
Group Rules

d. Block: Ban members who violate the rules, which means removing them from the group and preventing them from rejoining. Supports the Penalty on 2nd Offense option.

Group Rules
Group Rules

e. Penalty on 2nd: Warning for the first offense, Penalty on the second offense.

When you select Kick, Mute, or Block penalties, you can enable these options.

step 3

You can also click Whitelist to add members. Members on the Whitelist are exempt from the penalties of Group Rules.

Group Rules

Simply send the target member’s [@​username] or [Telegram ID] to add them successfully.

Group Rules

Click Remove to select and remove members from the whitelist.

Group Rules
Group Rules

Click Check the Whitelist to view members in the whitelist.

Group Rules
Group Rules

Share This Article :

  • Facebook
  • X
  • LinkedIn
Group GreetingKeywords Reply for Group
Table of Contents
  • Video Tutorial
  • step 1
  • step 2
    • Message Rules
      • 1. Prohibited Words
      • 2. Service Messages
      • 3. Telegram Links
      • 4. Other Links
      • 5. Forward Messages
      • 6. Quote Messages
      • 7. Overlength Messages
    • Anti-spam
    • Anti-bots
  • step 3
  • Latest Post
  • Echo
  • Recorder
  • Tips
Telegram Tips

How to Buy Cryptocurrency/USDT

The first step in buying cryptocurrencies is usually to purchase USDT, then exchange USDT for other coins like BTC, ETH,…

Telegram Tips

How to Buy Telegram Stars

Stars is a virtual currency officially launched by Telegram for purchasing paid content within Telegram. Stars is not classified as…

Telegram Tips

What is the purpose of Telegram group and channel levels? How to boost?

In Telegram, Levels act like an “experience bar” for public groups and channels. As a community reaches higher levels, it…

Telegram Tips

What are the actual benefits of a Telegram Premium subscription, and how to purchase it?

Telegram Premium is a subscription service that unlocks enhanced limits and exclusive features while supporting the app’s independent development. What…

Telegram Tips

How to change the display language in Telegram

To change the language on Telegram, you can head into the settings. Telegram supports dozens of languages, and many are…

Telegram Tips

What exactly is the difference between Telegram channels and groups?

The main difference is the direction of communication: Groups are for chatting with others (two-way), while Channels are for broadcasting…

Telegram Tips

What can I do if my Telegram group or channel has been banned?

If your Telegram channels or groups have been banned, the actions you should take depend on whether the ban was…

Telegram Tips

How to hide the Telegram group member list?

To hide your group’s member list, your group must first be a Supergroup (usually having more than 100 members or…

How to Loop Post in Channel via Telegram Bot

OnlyTG Echo provides the function to automatically loop posts in your channel. Firstly, you need to create a new bot via @botfather and…

How to Configure Multiple Media when Setting OnlyTG Echo Features

OnlyTG Echo provides the function to configure multiple media to a single message when setting Start Message/Auto Reply/Quick Reply/Broadcast and other features. Firstly, you need…

How to Upgrade Channel to Pro Channel in Telegram

OnlyTG Echo provides the function to upgrade your channel to Pro Channel. This will consume your Pro Communities slots and unlock more advanced features….

How to Edit a Published Post via Telegram Bot

OnlyTG Echo provides the function to Edit Channel Post via your bot. Firstly, you need to create a new bot via @botfather and…

How to Publish Channel Post via Telegram Bot

OnlyTG Echo provides the function to Publish Channel Post via your bot. Firstly, you need to create a new bot via @botfather and…

How to Manage Channel via Telegram Bot

OnlyTG Echo provides the function to Manage Channel via your bot. Firstly, you need to create a new bot via @botfather and send its…

How to Send Group Greeting via Telegram Bot

OnlyTG Echo provides the function to send the Greeting Message to new members joining the group. Firstly, you need to create a new…

How to Set Group CAPTCHA via Telegram Bot

OnlyTG Echo provides the function to send the CAPTCHA test to new members joining the group. Firstly, you need to create a new bot…

How to Use OnlyTG Recorder?

Welcome to OnlyTG Recorder! Developed by our dedicated bot development team, OnlyTG Recorder is designed to serve as an assistant…

How to Buy Cryptocurrency/USDT

The first step in buying cryptocurrencies is usually to purchase USDT, then exchange USDT for other coins like BTC, ETH,…

How to Buy Telegram Stars

Stars is a virtual currency officially launched by Telegram for purchasing paid content within Telegram. Stars is not classified as…

What is the purpose of Telegram group and channel levels? How to boost?

In Telegram, Levels act like an “experience bar” for public groups and channels. As a community reaches higher levels, it…

What are the actual benefits of a Telegram Premium subscription, and how to purchase it?

Telegram Premium is a subscription service that unlocks enhanced limits and exclusive features while supporting the app’s independent development. What…

How to change the display language in Telegram

To change the language on Telegram, you can head into the settings. Telegram supports dozens of languages, and many are…

What exactly is the difference between Telegram channels and groups?

The main difference is the direction of communication: Groups are for chatting with others (two-way), while Channels are for broadcasting…

What can I do if my Telegram group or channel has been banned?

If your Telegram channels or groups have been banned, the actions you should take depend on whether the ban was…

How to hide the Telegram group member list?

To hide your group’s member list, your group must first be a Supergroup (usually having more than 100 members or…

  • OnlyTG
  • Echo
  • Recorder
  • Help
  • Blog
  • Echo Pricing
OnlyTG EchoTelegram VK YouTube Facebook X Email

© 2026 OnlyTG

Scroll to top
  • Products
    • Echo
    • Recorder
  • Resources
    • Help
    • Blog
  • Pricing
    • Echo Pricing
Contact us