When the geographic firewall blocks a user in your Telegram group, @doublegram_captcha_bot removes them from the group. You choose how permanent that removal is via the punishment toggle in /firewall.
Punishment options
| Option | Behavior | Best for |
|---|---|---|
| Ban (default) | Permanent ban from the group | Repeat raid sources, hard geo blocks |
| Kick | Removed with temporary ban (~35 seconds minimum), then can rejoin | VPN users who may retry from a different IP |
How to change punishment
- Send
/firewallin the group. - Tap the punishment toggle (Ban ↔ Kick).
- Setting applies to future firewall blocks.
Kick details
Kick uses Telegram's temporary ban API (server default ~35 seconds, minimum 30). After the window, the user can join again via invite link. If they still match a blocked country, they will be blocked again on Mini App open.
Ban details
Ban prevents re-entry until a group admin manually removes the ban in Telegram's member list. Strongest deterrent for automated raid traffic.
Note on timeout removal
Users removed for verification timeout (never completed captcha) use the server's global kick/ban configuration. The /firewall punishment toggle applies specifically to geographic firewall blocks.
Quick reference
- Configure:
/firewallpunishment toggle - Default: Ban
- Kick: temporary, can rejoin
- Ban: permanent until admin clears
Related: Cross-Group Trust for verified users who skip repeat captchas — see Cross-Group Trust on Telegram.



