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.
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
| Mode | What it matches | Example |
|---|---|---|
| Exact | The full value | Maya Chen |
| Contains | Text anywhere in the name | moderator |
| Regex | A changing name pattern | A 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:
| Message | Does the link rule match? |
|---|---|
Join our updates: https://t.me/market_updates | Yes |
Read today's post: https://t.me/daily_news/42 | Yes |
Read today's post: https://example.com/news | No |
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.
Block a changing link
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 message | Result |
|---|---|
Maya: Read https://t.me/market_updates/42 | Forward: the link and author match. |
Leo: Read https://t.me/market_updates/42 | Forward: the link matches. |
Maya: General update | Forward: the author matches. |
Leo: General update | Stop: 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:
- Open Formatting β Message Format and add
User ID: @AuthorIDon a new line in your template. - Select Save Changes. When that person sends a message, their ID appears in the forwarded copy.
- Copy that value into the User ID filter using Add manually.
- 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: @AuthorIDSee Message Format for more examples and variables.