Click here to OnlyTG Echo help center>>>

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 RulesGroup 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

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.

Group Rules

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