Skip to main content

Group protection

Protection keeps your Telegram groups clean: it greets new members, stops bots and spammers at the door, and removes what you do not want, with warnings that add up to a mute or a ban.

Open Telegram > Protection, pick a group and switch on Protect for it. Settings are per group. A group with protection off is left alone.

Before you start​

Make your bot an admin of the group with the Delete messages and Ban users rights. The screen tells you if a right is missing and shows a Fix in Telegram button.

Welcome message​

Greets everyone who joins. {name} becomes their first name and {chat} the group name. Add a link button for your rules, shop or channel, and choose to Remove it after 1, 5 or 15 minutes, after 1 hour, or never.

Human check​

New members tap one button before they can write. Spam bots never tap, so they are removed when the time runs out (1, 3, 5 or 10 minutes). They can join again later.

Telegram only allows this in supergroups. If your group is not one yet, make it public once or turn on chat history for new members, and Telegram upgrades it.

At the door​

  • Ban known spammers: people on the CAS list of spam accounts are banned as they join.
  • Remove bots added by members: only admins can add bots.
  • Hide "joined" and "left" lines: removes Telegram's notices when people come and go.

Message rules​

Admins are never checked. For each rule, choose what happens: Remove it, Remove and warn, Remove and mute or Remove and ban.

RuleWhat it catches
FloodingMore than a set number of messages (2 to 30) in a set time (2 to 120 seconds)
LinksLinks and Telegram invites to other chats. Add up to 50 websites that are still allowed.
ForwardsMessages forwarded from other chats and people
Blocked wordsUp to 100 words, matched as whole words in any capitals

Warnings​

Warnings add up. Choose the limit (1 to 10) and what happens when someone reaches it: mute them for 1 hour, 1 day or 1 week, remove them, or ban them. Warnings older than 30 days are forgotten, and a burst of messages counts as one warning.

Night mode​

Closes the group for members between two times you choose. Admins can still write. In the morning the group gets back exactly what members could do before.

Notes and log​

  • Say why in the group: a short note when a message goes or someone is warned. It disappears after a minute.
  • Moderation log: every action is also written to a chat you choose.

Admin commands​

Reply to someone's message in the group with:

CommandWhat it does
/warnGive a warning
/unwarnTake back the last warning
/muteMute them (/mute 30m, 2h, 1d; without a time, the length from Warnings)
/unmuteLet them write again
/kickRemove them from the group
/banBan them from the group
/unbanLet them join again

What happened​

The activity list shows every action, by the bot or an admin, with Unmute, Unban or Take back buttons. The numbers at the top count messages removed in the last 7 days, warnings, mutes and bans, and people stopped at the door. Comment Guard removals show up here too.

Plans​

Protection is on every plan and never uses your monthly replies.