---
title: "All links"
key: "delete-all-links"
type: "toggle"
section: "Delete messages"
section_id: "delete"
default: "off"
paid: false
groups_only: false
bot_path: "/config → ❌️ Delete messages → All links"
web_panel_path: "lols.bot/adminka → your chat → ⚙️ Settings → ❌️ Delete messages → All links"
url: "https://lols.bot/docs/en/delete-all-links/"
md_url: "https://lols.bot/docs/delete-all-links.en.md"
lang: "en"
alternate: "https://lols.bot/docs/delete-all-links.md"
updated: "2026-11-27"
---

# All links

Default: off · key delete-all-links

## What it does

By default the bot deletes only malicious and spam links. To completely prohibit users from posting links, enable this option.

## 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 → “❌️ Delete messages” → “All links” (a toggle: tap it to turn it on or off).
- **In the web panel:** [lols.bot/adminka](https://lols.bot/adminka) → your chat → “⚙️ Settings” → “❌️ Delete messages” → “All links”.
- **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 “Delete messages”](https://lols.bot/docs/delete.en.md)

## FAQ

### How do I enable link deletion 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 → “❌️ Delete messages” → “All links”. The same can be done in the web panel lols.bot/adminka: your chat → “⚙️ Settings” → “❌️ Delete messages” → “All links”. 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 “All links” do in @lolsbot?

By default the bot deletes only malicious and spam links. To completely prohibit users from posting links, enable this option.

### Is “All links” enabled by default?

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