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
    • Dynamic Start Message
    • Set Auto-reply and keywords-based reply
    • Set Quick Reply
    • Create Broadcast Task
    • Tracking Links
    • Bot Menu
  • 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
    • Multi-form Messages Builder
    • Change to Topic Mode
    • Multimedia Messages
    • Set and use content module
    • Edit bot infomation
    • View My Bot’s Statistics
    • Tag Contacts
    • Authorization

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 Provide Shift-Based Customer Support on Telegram in 2026

Set up Telegram shift support with Business tools, shared inboxes, topics, and OnlyTG Echo.

Telegram Tips

How to Set Up Telegram Group Rules Using Bots in 2026

Set Telegram group rules with bots in 2026, including an updated OnlyTG Echo guide.

Telegram Tips

Is a Telegram Username Still Important in 2026?

Learn why Telegram usernames still matter in 2026, how they affect privacy, discovery, branding, and public links, plus the rules and limits you need to know before choosing one.

Telegram Tips

Telegram Stickers Guide in 2026

Learn how to use Telegram stickers properly in 2026, including how to find, add, create, manage, and share sticker packs without overusing them in chats.

Telegram Tips

Telegram Stars Explained in 2026

Learn what Telegram Stars are, how they work, where you can use them, how creators and bot developers earn them, and what to know about withdrawals, subscriptions, gifts, and TON in 2026.

Telegram Tips

How to Find and Join Favorite Telegram Channels in 2026

Find and join Telegram channels in 2026 with search tips, invite links, and safety checks.

Telegram Tips

Telegram Bot Users Statistics You Should Know in 2026

Telegram bot stats and how OnlyTG Echo analytics helps guide bot strategy.

Telegram Tips

Types of Telegram Messages: Text, Media, and Buttons in 2026

A practical guide to the main types of Telegram bot messages in 2026: text, media, and buttons, with clear examples, limits, and setup tips for better user experience.

How to Get Unbanned from Telegram in 2026: A Practical Step-by-Step Guide

If your Telegram account or phone number has been restricted, this guide explains how to confirm the ban, appeal to Telegram support, reduce spam flags, and avoid getting blocked again in 2026.

How to create telegram bot in 2026?

Learn how to create a Telegram bot in 2026 using BotFather, with step-by-step coding and no-code methods, plus tips for security, deployment, and choosing the best setup.

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 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 Provide Shift-Based Customer Support on Telegram in 2026

Set up Telegram shift support with Business tools, shared inboxes, topics, and OnlyTG Echo.

How to Set Up Telegram Group Rules Using Bots in 2026

Set Telegram group rules with bots in 2026, including an updated OnlyTG Echo guide.

Is a Telegram Username Still Important in 2026?

Learn why Telegram usernames still matter in 2026, how they affect privacy, discovery, branding, and public links, plus the rules and limits you need to know before choosing one.

Telegram Stickers Guide in 2026

Learn how to use Telegram stickers properly in 2026, including how to find, add, create, manage, and share sticker packs without overusing them in chats.

Telegram Stars Explained in 2026

Learn what Telegram Stars are, how they work, where you can use them, how creators and bot developers earn them, and what to know about withdrawals, subscriptions, gifts, and TON in 2026.

How to Find and Join Favorite Telegram Channels in 2026

Find and join Telegram channels in 2026 with search tips, invite links, and safety checks.

Telegram Bot Users Statistics You Should Know in 2026

Telegram bot stats and how OnlyTG Echo analytics helps guide bot strategy.

Types of Telegram Messages: Text, Media, and Buttons in 2026

A practical guide to the main types of Telegram bot messages in 2026: text, media, and buttons, with clear examples, limits, and setup tips for better user experience.

  • 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