EverHoot

A captcha on join requests: spammers never get into your Telegram group

How to check people before they enter a group: join requests, a task in private chat, approval by the bot — and why it beats a captcha inside the chat.

A regular captcha in a Telegram group works like this: someone joins, the bot mutes them and waits for a button press. It stops simple bots, but the spammer is already inside: “joined the group” sits in the feed, their profile with an ad in the name is visible to members, and during a raid the chat fills up with joins.

If your group approves new members, the check can happen earlier — on the join request. Then the spammer doesn’t get in at all.

How it works

When someone sends a join request, Telegram tells the bot — provided the bot has the “Add members” right. The bot then has five minutes to message the applicant privately: that’s how Telegram works, a bot can only write to someone who never messaged it while their request is pending.

EverHoot sends a task — a button or a small maths problem, just like the in-chat captcha. Answer correctly and the bot approves the request itself, so the person enters already checked and won’t get a second captcha in the chat. Get the problem wrong or don’t answer in time and the request is declined; it can be sent again.

Declined without a task

Some people don’t need a check. The request is declined right away — by the checks turned on in the group settings — if the applicant:

  • is already blocked by you in another group or conversation;
  • is listed in the open CAS spammer database;
  • has a stop word in their name, username or bio.

The bio is something the in-chat captcha never sees: Telegram only sends it with the join request. “Earn money on Telegram, DM me” in a profile description is a common spammer sign, and now it’s stopped at the door.

If the owner presses “Not spam” on such a journal entry, these checks are switched off for that person — they still get the task.

In the “Log only” moderation mode the bot declines nobody: the finding goes to the journal, and the person gets the task like everyone else. This way you can first see whom the checks would stop, and only then turn them on for real.

Why it’s opt-in

Many groups review join requests by hand: they look at the profile, ask why the person came. If the bot started approving requests on its own, it would undo that work. So join request checks are turned on separately, in the group’s captcha settings, and only where you turned them on.

If the bot can’t message the person, it leaves the request alone — it stays with the admins and the journal gets an entry. Declining without a check would be unfair. If Telegram simply didn’t answer in time, the bot retries the decision a bit later instead of dropping the request.

More about moderation is on the features page.