What is the best Telegram forwarder for filtering messages by rules?

There's no single best rule-filtering Telegram forwarder — it depends on how many rules you need and whether you'll write code. For most admins, a no-code Windows tool with unlimited telegram forwarding rules messages is the practical pick. Cloud bots like Aggregaat cap rules per plan, while self-hosted Bot API forwarders and Telethon scripts are free but need a server and technical setup.
If you're running several groups and want messages routed only when they match your conditions, Telegram auto forwarding software that lets you build rules without touching code is the fastest path. RelayGram does exactly that on Windows, and you can try it free for three days.
What does "filtering by rules" actually mean for Telegram forwarding?
A rule is a condition plus an action. The condition looks at each incoming message — its text, its sender, its media type — and the action decides whether the message gets forwarded, dropped or changed first.
The most common conditions admins build:
- Contains a word or phrase — "contains price", "contains BTC", "contains vacancy".
- Starts with a command — "starts with /signal", so only command-triggered posts go through.
- Keyword allow or block lists — forward only if a keyword appears, or drop if a blocked word appears.
- Sender or chat filters — only messages from a specific user or source channel.
- Media type — only photos, only documents, only text.
A word of warning on the simplest version. A plain substring check misfires: "home" also matches "homemade". A word-boundary regex only matches whole words, per a Volcengine article published 5 November 2026. So the tool you pick matters as much as the rule you write.
A rule is only as good as the matching engine behind it — substring, word-boundary or AI detection all give different results on the same message.
Why can't Telegram's own forwarding filter anything?
Because Telegram's native forwarding method has no filtering step at all. It forwards messages by ID only — filters, rules and rewrites are not part of the method, per Telegram's API reference.
That means no "starts with /signal", no keyword matching, no AI detection. The method also skips protected chats entirely: forwarding from a protected chat returns the CHAT_FORWARDS_RESTRICTED error, and service messages can't be forwarded, according to the same reference and a JSR @gramio/types doc dated 18 November 2026.
Telegram folders help you organise chats, but they don't route messages between them. If you want rules, you need a third-party tool.
How many rules does each forwarder allow?
Rule counts vary wildly, and that's the single biggest difference between the options. Here's what each tool in this comparison publishes, checked as of November 2026.
| Option | Best for | Key features | Price / free option | Watch-outs |
|---|---|---|---|---|
| RelayGram (Our pick) | Unlimited no-code rules on Windows | Rule filters, AI detection, AI rewrite, translation | Free 3 days; ~$9.99/mo after | Windows only; PC must stay online |
| Aggregaat | Cloud bot with AI digests | Keyword/skip filters, content types, forum topics | Free: 1 rule; Premium $5.99/mo; Elite $15.99/mo | Rule and keyword caps per plan |
| Self-hosted Bot API forwarder | Deep regex control, free | Allow/block lists, per-destination rules, caption transforms | Free/open source; you pay for server | Needs bot token, PostgreSQL, HTTPS webhook |
| Telethon scripts (tgcf, tg-focus) | Power users who code | Regex, blacklist/whitelist, OCR, format, replace | Free/open source | Needs API ID/hash, server, maintenance |
| TeleFeed | Reading restricted-save channels | Allow/block lists by keyword, regex, media, user | Forwarding free; premium prices not published | Limits not published; hands over account session |
RelayGram is made by the team behind this blog. Its pitch for this job is simple: unlimited rules, zero code, and AI that can decide what matters instead of you writing every condition by hand. If you mainly need a cloud bot with built-in AI summaries, Aggregaat is the more direct choice — just know its free plan gives you a single rule.
How does RelayGram handle rule-based forwarding?
It captures incoming messages from sources you choose — public groups, private groups, channels, direct chats, bots and users — and applies your rules before sending to destinations.
The steps:
- Install the Windows app and link your Telegram account so your groups and channels appear.
- Pick your sources — the groups, channels or chats you want to watch.
- Set rules — choose what happens to each message: forward as-is, clone it as your own, have AI rewrite it, apply smart filters, use AI detection, or add branding.
- Choose destinations — other groups, channels, direct chats or your bot.
- Leave it running so messages route 24/7.
You can forward one message to 5, 10 or 50 destinations at once. And because rules are unlimited with no code, "contains price" and "starts with /signal" can sit side by side without a plan upgrade.
Want to see the rule builder in action? Try Free and set up your first filter in a few minutes.
Do you need to code to filter Telegram messages by rules?
No — not with the right tool. Aggregaat, TeleFeed, Phantom Forwarder and TM Forwarder all let you build rules without coding, per their own documentation and listings.
The self-hosted options are a different story:
- The self-hosted Bot API forwarder (
viperadnan/telegram-forwarder-bot) needs a BotFather bot token, a PostgreSQL database and a public HTTPS webhook via Docker, according to its Docker Hub listing. - tgcf ships a web UI plus a CLI, but plugins are written in config files, per its GitHub repo dated 21 May 2024.
- tg-focus is configured through TGFCMD chat commands and needs your phone number plus login code to authenticate, per its Docker Hub listing.
If you want the full comparison of no-code options, see our guide to the best Telegram message forwarder that needs no coding.
Can AI decide which messages get forwarded?
Yes — this is where rule filtering is heading. Instead of you writing every condition, AI detection looks at each message and decides whether it matters enough to forward.
RelayGram's AI detects what matters and only forwards those messages, and it can rewrite, summarise, strip links, add branding or rephrase before sending. It also translates instantly into other languages.
The honest caveat: RelayGram's AI features need a Gemini API key, which you supply. That's a fact confirmed by the owner. It's not a hidden cost, but it is setup you should plan for.
Among the tools in this comparison, whether Aggregaat, TeleFeed or Phantom run AI to decide which messages are forwarded (as opposed to AI digests for summaries) isn't confirmed by the sources here — so don't assume it.
If AI decisioning is the main thing you want, our breakdown of the best AI Telegram forwarder that decides which messages matter goes deeper.
What does RelayGram cost, and how does it compare?
RelayGram gives you a free 3-day trial with unlimited messages, then runs around $9.99 a month unlimited, as of November 2026 — prices can change.
Here's how that stacks against the rule limits of the alternatives, using each vendor's published figures.
| Tool | Free tier | Paid from | Rule limit |
|---|---|---|---|
| RelayGram | 3 days, unlimited | ~$9.99/mo | Unlimited |
| Aggregaat | 1 rule, 3 channels | $5.99/mo | 10+10 keywords (Premium) |
| Phantom Forwarder | 1 rule, 1 destination | $4.17/mo (annual) | 5 rules × 2 destinations |
| Junction Bot | No free plan, 7-day trial | €3–€18/mo | Varies by tier |
Aggregaat's keyword limits scale by plan: Standard gives one keyword per rule, Premium gives 10 keywords plus 10 skip-words per rule, and Elite gives 30 plus 30, per its German pricing page. Phantom's Smart plan at $4.17/mo billed annually ($50/year) gives 5 rules × 2 destinations with keyword and media filters, per its pricing page. Junction Bot has no free plan and tiers from €3 to €18 a month, per Aggregaat's comparison dated 14 June 2026 — that's a competitor's summary, so treat it as secondary.
If cost is the deciding factor, our roundup of the best free Telegram message forwarder in 2026 covers that trade-off properly.
Which forwarder is best for "starts with /signal" and similar commands?
For command-style rules, you want a tool that supports prefix or regex matching, not just plain keywords.
RelayGram handles "starts with /signal" as a rule condition with no code. The self-hosted Bot API forwarder supports patterns via RE2 regex, and it trims text before matching so invisible trailing spaces can't break a keyword rule, per its Docker Hub listing. tg-focus accepts plain text or regex and forwards only messages matching any filter and rejected by none.
Say you run a forex signals group and only want to relay posts beginning with /signal. A prefix rule catches those and ignores commentary. A loose keyword rule for "signal" would also catch "signals are mixed today" — which is exactly the misfire you're trying to avoid.
Ready to stop copy-pasting and let rules do the routing? Try Free for three days with unlimited messages, then keep going for around $9.99 a month.
Sources
- messages.forwardMessages — method reference (Telegram APIs, undated)
- APIMethods.forwardMessages (JSR @gramio/types, 2026-11-18)
- viperadnan/telegram-forwarder-bot repository overview (Docker Hub, undated)
- viperadnan-git/telegram-forwarder-bot (GitHub, 2023-12-22)
- Keyword matching article (Volcengine, 2026-11-05)
- SanjiProject/Telegram-Forwarding-Bot (GitHub, 2025-05-15)
- tgcf fork (GitHub peteythepanda, 2024-05-21)
- tg-focus (Docker Hub, undated)
- Aggregaat German pricing (Aggregaat, undated)
- Aggregaat vs TeleFeed (Aggregaat, 2026-11-02)
- TeleFeed bot listing (telegramchannels.me, 2026-07-06)
- Phantom Forwarder pricing (Phantom Forwarder, undated)
- Aggregaat vs Junction Bot (Aggregaat, 2026-06-14)
Frequently asked questions
Keep reading

What is the best Telegram forwarder for filtering messages by keyword?
A no-code Windows tool with per-destination keyword rules is the practical pick for relaying only matching messages. See how RelayGram, Aggregaat, TeleFeed and DIY bots compare.

What is the best Telegram forwarder for filtering messages with AI?
We compare RelayGram, ForwardBuddy and Telezy for AI-judged Telegram filtering — what AI detection actually does, what it costs, and which tool fits your setup.

What is the best Telegram forwarder for forwarding to a WhatsApp group?
No Telegram forwarder posts natively into a WhatsApp group — every automated route needs a bridge. Here's how to pick the Telegram-side filter and the WhatsApp delivery leg.

What is the best Telegram message forwarder for Windows with rule-based filters in 2026?
We compare the top Telegram message forwarders for Windows with rule-based filters, from no-code apps to self-hosted tools, so you can pick the right one.
