---
title: "User ID filter"
key: "uidfilter"
type: "toggle"
section: "Face control"
section_id: "facecontrol"
default: "off"
paid: false
groups_only: false
bot_path: "/config → ✋ Face control → User ID filter"
web_panel_path: "lols.bot/adminka → your chat → ⚙️ Settings → ✋ Face control → User ID filter"
url: "https://lols.bot/docs/en/uidfilter/"
md_url: "https://lols.bot/docs/uidfilter.en.md"
lang: "en"
alternate: "https://lols.bot/docs/uidfilter.md"
updated: "2026-11-27"
---

# User ID filter

Default: off · key uidfilter

## What it does

When enabled, you set a numeric user ID threshold, and the bot removes from the chat and blocks for an hour any user whose Telegram user ID is higher than that number. Since a higher user ID means a more recently created account, this effectively keeps newer Telegram accounts out of the chat.

## How to enable

- **In the bot:** Open the settings: the `/config` command in the group or in a private chat with [@lolsbot](https://t.me/lolsbot), or the link [t.me/lolsbot?start=config](https://t.me/lolsbot?start=config). Pick the chat → “✋ Face control” → “User ID filter” (a toggle: tap it to turn it on or off).
- **In the web panel:** [lols.bot/adminka](https://lols.bot/adminka) → your chat → “⚙️ Settings” → “✋ Face control” → “User ID filter”.
- **Who can change it:** [A chat admin with the right to ban users (the owner always can).](https://lols.bot/docs/install.en.md)

## Related options

- [All options of “Face control”](https://lols.bot/docs/facecontrol.en.md)

## FAQ

### How do I enable “User ID filter” in a Telegram group or channel?

Open the settings: the /config command in the group or in a private chat with @lolsbot, or the link t.me/lolsbot?start=config. Pick the chat → “✋ Face control” → “User ID filter”. The same can be done in the web panel lols.bot/adminka: your chat → “⚙️ Settings” → “✋ Face control” → “User ID filter”. Settings can be changed by a chat admin with the right to ban users. No, it is off by default — turn it on in the chat settings.

### What does “User ID filter” do in @lolsbot?

When enabled, you set a numeric user ID threshold, and the bot removes from the chat and blocks for an hour any user whose Telegram user ID is higher than that number. Since a higher user ID means a more recently created account, this effectively keeps newer Telegram accounts out of the chat.

### Is “User ID filter” enabled by default?

No, it is off by default — turn it on in the chat settings.
