SpamLens
TELEGRAM IMAGE MODERATION

Block spam hidden in images.

Plain-text filters miss scam domains and promo words pasted inside screenshots. SpamLens extracts visible text from JPEG, PNG, and WEBP images, matches your group's exact rules, and logs safely in preview mode before you ever turn on deletion.

Workflow

Three steps, preview-first by design

01

Add as admin & run /setup

Promote @spamlens_bot with Delete Messages permission, then tap the signed private deep link to configure your group in DM.

02

Verify in Preview Mode (75 trial scans)

Add blocked words, substrings, or domains. Incoming group images are checked and logged in /audit without deleting a single message.

03

Enable Enforcement when ready

Top up a one-time 30-day scan allowance with Telegram Stars and switch to /mode enforce. Only clear current-rule matches are removed.

Rule Types

Deterministic matching — no opaque AI spam guesses

WORD/addword airdrop

Whole-token boundary match after NFKC & casefold normalization. Matches 'free airdrop now', ignores 'airdrops'.

DOMAIN/adddomain bad.com

Matches bad.com and foo.bad.com, never notbad.com, and ignores domains appearing only inside another host's query string.

SUBSTRING/addsubstring t.me/+

Opt-in match anywhere inside normalized image text or caption when invite fragments must be caught.

Explicit v1 boundaries (no false promises)

  • ·Scans still JPEG, PNG, and WEBP photos/documents up to 20 MB and 12 MP (no video, GIF, PDF, SVG, or QR decoding in v1).
  • ·Telegram platform rule: bots never receive messages sent by other bots.
  • ·Telegram enforces a 48-hour delete window; SpamLens never bans or mutes members and cannot undo a Telegram deletion.
  • ·Group admins and /trust members are exempt before download or scan charges.
FAQ

Frequently asked questions

What consumes one scan credit?

One scan credit is used when an incoming non-exempt JPEG, PNG, or WEBP image finishes text check (clean or matched, including tenant cache hits). Captions, exempt admins, rejected file types, and technical timeouts consume zero credits.

Are group images stored?

No. Images are processed ephemerally via Cloudflare Workers AI Vision solely to extract visible text and discarded immediately. Tenant-isolated normalized OCR text expires after 24 hours and masked audit metadata expires after 14 days.

Is billing a recurring subscription?

No. When payments are enabled, /buy sends a one-time Telegram Stars (XTR) invoice for a 30-day scan pack. There is never automatic per-delete debiting or auto-renewal.