RelayGram LogoRelayGram

    How do I forward Telegram messages based on rules on a Windows PC?

    By RelayGram Team
    Forward Telegram messages based rules on Windows — a message passing a keyword filter and fanning out to three

    Rule-based forwarding on a Windows PC matches each new message against conditions — keywords, ban words, media type, sender — and sends only the ones that pass to your destination chats. Telegram Desktop has no automatic rule engine, so you need a no-code Windows app, an open-source forwarder like tgcf, or a Bot API script. The PC or host must stay on and online.

    Ready to stop copy-pasting? You can try RelayGram free for 3 days and build your first rule set in minutes.

    Can Telegram Desktop forward messages automatically on its own?

    No. Telegram Desktop forwards only what you select by hand — Ctrl+click to multi-select, then right-click → Forward Messages, with options like "Send without sound" or Schedule (hdi-telegram.com, 2025). You can also right-click a message → "Select Messages" to pick several non-consecutive ones (statiko.io, 2026).

    All of that is a manual, per-press action. Telegram has no built-in "auto-forward" setting; scheduled messages and the forward button are the only native ways to move a post between chats without a tool (Weego Tech, 2026). So if you run five groups and want price alerts relayed the moment they land, the desktop client will not do it for you.

    What does "forward based on rules" actually mean?

    It means three decisions made for every incoming message, automatically: does it match, what happens to it, and where does it go. In practice your rule set looks like this:

    1. Sources — the public groups, private groups, channels or direct chats you watch.
    2. Conditions — required keywords ("contains price"), command prefixes ("starts with /signal"), ban words, media type, or sender allow/block lists.
    3. Transformation — forward as-is, copy without the "Forwarded from" header, rewrite, translate, strip links or add branding.
    4. Destinations — one or many groups, channels, chats or your bot.

    Say you run a crypto signals channel and three free discussion groups. Your rule might be: watch the paid channel, forward only messages starting with "/signal", copy them so they look like your own posts, and drop them into all three groups. That is a rule set — and it is what separates rule-based forwarding from pressing Forward fifty times a day.

    A rule set is only as good as its conditions: the tighter your keywords and ban words, the less noise reaches your destinations.

    How do I set up rule-based forwarding on a Windows PC, step by step?

    Start with the rule set, then pick the tool that matches your skills. The order below works for any route.

    1. Decide your rule set. Write down source chats, required keywords, ban words, media types and destinations before you touch any software.
    2. Pick your tool. A no-code Windows app if you don't code; tgcf or a Bot API script if you can host and maintain Python or Node.
    3. If using a bot, turn off Group Privacy. In BotFather: select your bot → Bot Settings → Group Privacy → Turn off, so it can read all group messages (Kaspersky support, 2026).
    4. Add the bot as admin to the source chat (view + post rights) and to every destination chat (火山引擎, 2026).
    5. Build one rule per source→destination pair — allow keywords, block words, and forward vs copy (copy removes the "Forwarded from" header) (hermes-agent issue quoting Bot API, 2026).
    6. Test with one known message in the source chat and confirm only matching messages land; check albums stay grouped.
    7. Keep the PC or host running 24/7 and keep volume modest — Telegram answers a client that sends too fast with FloodWait, a number of seconds you must not send in (wzgram docs, 2026).
    8. Protect the bot token like a password and revoke it in BotFather if it leaks (CyberAgent docs, 2026).

    Why does my bot see no group messages?

    Because Group Privacy is still on, or the bot isn't an admin. This is the single most common failure in DIY rule-based forwarding: the connection looks healthy, getUpdates returns nothing, and you assume the code is broken. Turn Group Privacy off in BotFather, make the bot an admin with view and post rights, and the messages start arriving.

    The second common failure is uptime. A bot in the Bot API is only an identity on Telegram's servers — the code that forwards must keep running on a powered-on, connected device or forwarding stops (volcengine.com, 2026). grammY's docs put it plainly: turn off your computer and the bot stops responding; for 24/7 uptime keep a machine running or host on a server (grammY, 2024). Community users report locally hosted bots are fragile — Windows updates kill processes, scripts die, terminal windows need babysitting (Latenode community, 2025).

    Can I forward from a channel that blocks saving or forwarding?

    No. Source channels with "Restrict Saving Content" (content protection) block forwarding entirely — chat owners toggle it via messages.toggleNoForwards, and forwards return CHAT_FORWARDS_RESTRICTED (core.telegram.org). Service messages and protected-content messages can't be forwarded either (telebot docs, 2024).

    If the channel you want to relay is protected, no tool on this list will get around it. Our recommendation: ask the channel owner for permission, or relay from a source you control.

    How do I forward without the "Forwarded from" tag?

    Use copy instead of forward. The Bot API has both forwardMessage/forwardMessages and copyMessage/copyMessages; a copied message has no link to the original, so "copy" is how tools repost without a "Forwarded from" tag (hermes-agent issue quoting Bot API, 2026). On the lower-level API, messages.forwardMessages also supports a drop_author flag to forward without quoting the original author (core.telegram.org).

    This matters for channel owners: a feed of "Forwarded from CompetitorX" headers looks like a scraped channel. Cloned posts look native.

    Which tool should I use for rule-based forwarding on Windows?

    For most Windows admins who don't want to maintain code, a no-code app is the shortest path — and of the tools we compared, RelayGram is our pick because the whole rule set (sources, conditions, rewriting, destinations) lives in one Windows app with no scripting. If you mainly need a free open-source forwarder and can host Python, tgcf is the more direct choice. If you need total control over filtering logic, a custom Bot API script wins.

    RelayGram is made by the team behind this blog.

    OptionBest forKey featuresPrice/free optionWatch-outs
    RelayGram (Our pick)No-code rule forwarding on WindowsKeyword rules, AI detection, AI rewrite/translate, clone or as-isFree 3 days, then ~$9.99/month unlimited (as of Nov 2026, prices can change)Windows only; PC must stay on
    Telegram DesktopForwarding a few messages nowMulti-select, silent, scheduleFreeNo rules, no automation
    tgcf (open source)Free self-hosted forwardingPast/live mode, bot or user account, pluginsFree, open sourcePython setup; host must stay on
    Custom Bot API scriptFull control of filter logicforwardMessage, copyMessage, any filter you codeFree apart from time and hostingYou write and maintain code

    Where RelayGram fits

    RelayGram watches the sources you choose — public and private groups, channels, direct chats, bots and users — and forwards each message to destinations you set. Rules can require keywords like "contains price" or "starts with /signal", and AI can detect what matters and forward only those messages. Before delivery it can rewrite, summarize, strip links, add branding, translate instantly, or clone messages so they look like yours. One message can go to 5, 10 or 50 destinations at once, and the app helps you get the API credentials it needs. AI features require a Gemini API key, and you must be inside a group for forwarding from it to work — it doesn't use bots.

    The honest limits: it is Windows only, and your PC must stay on and online for real-time forwarding.

    You can start with RelayGram's free trial and set up your first source-to-destination rule today. If you want to see how the rule-filter approach compares across tools, read our guide to the best Telegram forwarder for filtering messages by rules.

    Will heavy forwarding get my Telegram account limited?

    Possibly — Telegram limits accounts reported as spam, and mass messaging, repeated links and very frequent posting are cited as risk factors (Likeni.ru, 2025). Telegram's own Spam FAQ says reported accounts are limited temporarily and can still message contacts who have their number saved and reply (Telegram FAQ). Treat any specific "safe" cadence you read online with caution — one unofficial blog's 45–90 second figure is a third-party claim, not official guidance.

    Our recommendation: keep forwarding volume modest, avoid repeated identical links, and space out bursts. This is general platform guidance, not legal advice, and rules vary by place and change over time.

    Sources

    Frequently asked questions

    Not necessarily. Bots are the standard route for scripts and open-source tools, but a no-code Windows app can handle the same job without you creating a bot. If you do use a bot, it must be an admin with Group Privacy off to read all group messages.

    Yes, with the right tool. RelayGram lists private groups, channels, direct chats, bots and users among its supported sources — but you must be inside the group for it to work. Protected channels that block saving and forwarding can't be relayed by any tool.

    Forwarding stops. Both locally hosted bots and Windows apps need the machine powered on and online for real-time forwarding (grammY, 2024; volcengine.com, 2026). Our recommendation: disable sleep on the machine you use for forwarding, or run it on a PC that stays on.

    Of the tools we compared, RelayGram is our pick for non-coders because rules, AI filtering and rewriting sit in one Windows app. tgcf suits free open-source users who can host Python, and a custom Bot API script suits anyone who wants to code their own filters.

    Yes. RelayGram's AI detects what matters and forwards only those messages, and can rewrite or translate before sending — it needs a Gemini API key. Third-party projects also describe AI keyword steps that suppress forwarding, though those are unofficial examples rather than documented standards.

    Keep reading

    Chat with us