RelayGram LogoRelayGram

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

    By RelayGram Team
    Telegram forwarding rules messages — a message stream passing through rule filters into multiple destination groups

    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.

    OptionBest forKey featuresPrice / free optionWatch-outs
    RelayGram (Our pick)Unlimited no-code rules on WindowsRule filters, AI detection, AI rewrite, translationFree 3 days; ~$9.99/mo afterWindows only; PC must stay online
    AggregaatCloud bot with AI digestsKeyword/skip filters, content types, forum topicsFree: 1 rule; Premium $5.99/mo; Elite $15.99/moRule and keyword caps per plan
    Self-hosted Bot API forwarderDeep regex control, freeAllow/block lists, per-destination rules, caption transformsFree/open source; you pay for serverNeeds bot token, PostgreSQL, HTTPS webhook
    Telethon scripts (tgcf, tg-focus)Power users who codeRegex, blacklist/whitelist, OCR, format, replaceFree/open sourceNeeds API ID/hash, server, maintenance
    TeleFeedReading restricted-save channelsAllow/block lists by keyword, regex, media, userForwarding free; premium prices not publishedLimits 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:

    1. Install the Windows app and link your Telegram account so your groups and channels appear.
    2. Pick your sources — the groups, channels or chats you want to watch.
    3. 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.
    4. Choose destinations — other groups, channels, direct chats or your bot.
    5. 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.

    ToolFree tierPaid fromRule limit
    RelayGram3 days, unlimited~$9.99/moUnlimited
    Aggregaat1 rule, 3 channels$5.99/mo10+10 keywords (Premium)
    Phantom Forwarder1 rule, 1 destination$4.17/mo (annual)5 rules × 2 destinations
    Junction BotNo free plan, 7-day trial€3–€18/moVaries 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

    Frequently asked questions

    For unlimited no-code rules on Windows, RelayGram is our pick of the tools we compared. If you'd rather run in the cloud and only need a few rules, Aggregaat's paid tiers work well. If you can code and want full regex control, a self-hosted Bot API forwarder or a Telethon script is the more direct choice.

    Yes, with a literal or prefix/regex rule in a no-code tool, or with regex in a self-hosted forwarder. Avoid substring matching without word boundaries — it will misfire on unrelated messages, per a Volcengine article from November 2026.

    Bot-based forwarders do — one must be an admin in both the source and destination chats, per the SanjiProject repo. Tools that log in through your own Telegram account, like TeleFeed, can read any chat the account can see without admin rights, per a telegramchannels.me listing dated 6 July 2026.

    No. Anything using the Bot API can't forward protected messages — the method returns the CHAT_FORWARDS_RESTRICTED error, per Telegram's API reference. User-account tools can read what the account can see.

    Yes, in several of these. RelayGram can rewrite, summarise, strip links, add branding or translate with AI. The self-hosted forwarder does caption prepend/append/replace, tgcf does format and caption headers, and Phantom's Smart plan includes find & replace.

    Keep reading

    Chat with us