Forward LogoForwardMsg

Filters

Allow the messages you want and block words, links, authors, or Discord roles you do not want.

Filters choose which messages reach the destination. Use an Allowlist to forward only matching messages, or a Blocklist to stop matching messages.

Where to find it
Automation editor β†’ click a source chat in the left-hand list to open its settings, or click Global Settings β†’ Filters

For example, forward only one analyst's posts, block sponsored, or block messages containing changing Telegram links.

βœ… Allowlist: forward only what you choose

With an Allowlist configured, messages need an allowed match. Start with a word, a link, or an author.

Allow a word or phrase

Under Allowlist β†’ Filter by Keywords, select Add Filter, choose TEXT, and enter signal.

This matches New signal posted and signal: BTC buy. TEXT searches anywhere in the message, so signal also matches signals. Turn on Case Insensitive when Signal, SIGNAL, and signal should all match.

Allow specific people

  • Author Name: match the visible name, such as Maya Chen. Keep in mind that the person can change this name.
  • @Username: enter the username without @. It can change too, but is usually more stable than the display name.
  • User ID: select a person, or use Add manually to enter their ID. This identifies the same account even when its name or username changes. Learn how to find a User ID.
  • Discord role: choose a role or match its name. Roles apply only to Discord sources.

Add Maya and Leo to the Allowlist when you want to forward messages from either person.

Match author names and usernames

ModeWhat it matchesExample
ExactThe full valueMaya Chen
ContainsText anywhere in the namemoderator
RegexA changing name patternA pattern for names ending in Bot

Turn on Case Insensitive if name capitalization should not matter.

Allow a changing text pattern

Imagine you want to forward messages containing a Telegram channel or post link, even when the channel name or post number changes. Choose REGEX under Allowlist β†’ Filter by Keywords and enter:

https?://t\.me/[A-Za-z0-9_/-]+

This pattern finds the link wherever it appears in the message. The channel name and post number can vary:

MessageDoes the link rule match?
Join our updates: https://t.me/market_updatesYes
Read today's post: https://t.me/daily_news/42Yes
Read today's post: https://example.com/newsNo

If you only want one unchanged link, such as https://t.me/market_updates, choose TEXT and enter that link instead. TEXT also matches when that exact link appears inside a longer message.

An invalid or too-complex expression can produce no match. Check a message that should pass and one that should not before relying on a new pattern.

🚫 Blocklist: stop messages you do not want

A Blocklist match stops a message even if it also matches your Allowlist.

Block a fixed phrase

Under Blocklist β†’ Filter by Keywords, add a TEXT rule for sponsored. Turn on Case Insensitive to stop Sponsored too.

Add the Telegram-link regex above to the Blocklist to stop messages with those changing links. To block only one fixed link, use TEXT and enter that exact link instead.

Block an author

Choose an Author Name, @Username, User ID, or Discord role using the same methods as the Allowlist. For example, add Maya Chen under Author Name to stop messages from that author.

Combine several rules

Allowlist rules use OR on Discord, Telegram, and WhatsApp: one matching rule is enough. This applies to both entries in the same list and different categories.

For example, two allowed authorsβ€”Maya and Leoβ€”let messages from either person through. If you allow the Telegram-link pattern above and author Maya, a message can pass because it contains a matching link or because Maya sent it:

Original messageResult
Maya: Read https://t.me/market_updates/42Forward: the link and author match.
Leo: Read https://t.me/market_updates/42Forward: the link matches.
Maya: General updateForward: the author matches.
Leo: General updateStop: neither rule matches.

Adding an author rule does not make that author a requirement for the link rule. It adds another way for a message to qualify.

The Blocklist still wins. If you block sponsored, Maya's sponsored update is stopped even though Maya is an allowed author.

Choose where your rules apply

Use Global Settings for shared rules, or click a monitored server, chat, channel, or topic to open its settings and make an exception. See How Settings Work for inheritance.

Select Save Changes. Then check an allowed and blocked message in your own test chats.

Use Forward Options to choose broad message types. Filters decide which eligible messages continue.

If filters stop too much or too little

  • Nothing arrives: check whether a message matches at least one Allowlist rule and whether a Blocklist rule stops it.
  • Too many posts arrive: a broad author rule can let a message through even when it has no matching keyword. Make the rules more specific or remove an alternative you do not need.
  • TEXT matches too much: it is a substring search; use a whole-word regex for a specific word.

See messages not forwarding if a simple text message still fails.

Find a User ID

An easy way to find the ID is to show it in a copied message before adding your User ID filter:

  1. Open Formatting β†’ Message Format and add User ID: @AuthorID on a new line in your template.
  2. Select Save Changes. When that person sends a message, their ID appears in the forwarded copy.
  3. Copy that value into the User ID filter using Add manually.
  4. Remove the ID line from your template and save again if you no longer want it shown in messages.

For example, this template shows the message and its sender's ID:

@Author: @Message
User ID: @AuthorID

See Message Format for more examples and variables.

Frequently Asked Questions

Can I forward only one user or several users?
Yes. Add their Author Names, Usernames, or User IDs to the Allowlist. Adding several people lets messages from any of them through. User IDs keep identifying the same accounts if their names change.
Should I use TEXT or REGEX?
Use TEXT for a fixed word, phrase, or link. Use REGEX when part of it changes but follows a pattern, such as Telegram links with different channel names or post numbers.
Can I block an author even when the text is allowed?
Yes. Add that author to the Blocklist. A matching Blocklist rule stops the message.
Was this page helpful?