⏊
Auto Forward Telegram Messages
  • Guides
    • 😍Welcome to Auto Forward Messages Telegram Bot!
    • 💡Commands Arguments Meaning
    • đŸ“ļHow to connect?
    • â„šī¸Get information channels, groups, your account
    • đŸ’ĢHow To Setup New Task Auto Forward
  • Fundamentals
    • đŸ› ī¸How To Settings For Task
      • [Only App] Debug Mode For Task
      • Apply Replace For Task
      • Apply Blacklist For Task
      • Apply Whitelist For Task
      • Filters
      • Cleaner
      • Delay For Targets
      • Delay For Source
      • Watermark
      • Add Header / Footer
      • Scheduler Power On/Off
      • Convert Buttons To Text
      • Process To Raw Text
      • Auto Post Scheduler
      • Crypto Filters
      • Translate Language
    • đŸ’ŦSetup Topics For Task
    • đŸ’ģSystem Settings
    • ✅Whitelist: Create And Management
      • Whitelist On Mobile App/WebApp
    • 🔴Blacklist: Create And Management
      • Blacklist On Mobile App/WebApp
    • 🌀Replace : Create And Management
      • Use on Mobile App or WebApp
      • Use Command on Bot Telegram
    • 🌀Replace (Without Commands): Create And Management
    • 🛗Auto Post Scheduler
    • đŸ§™â€â™‚ī¸Filters Users
    • ÂŠī¸Clone Message
    • đŸĒ™MMO Utils
      • đŸ›ī¸Make Money With Amazon
      • 🤝Make Money With Awin1.Com
    • đŸĻ¸Profile Settings
  • 💰Make Money
  • 🆓Auto Forward Messages has a free version ?
  • đŸĻ¸Upgrade Plans Package
  • âĢUpgrade Plan via Android/IOS App
  • 🆙How To Upgrade Current Package?
  • â™Ļī¸How to remove all your personal data?
  • Mobile App
    • 📱How to download App For Mobile
    • 📱How to get UserID and Token for Login App Mobile
    • 🔓How to logout account and login new account on app?
    • 🔄[Mobile App] Replace: Create And Management
  • Extras
    • đŸ”ĻTo Use Replace/Whitelist/Blacklist With Text Formatting Special
    • âŗFAQ
      • 📭 Bot Not Forwarding Messages – How to Troubleshoot
      • Why Do Some Users Get Logged Out When Connecting to the Telegram Bot?
      • Why is my bot experiencing delays when forwarding messages?
      • How to get manual channel, group, user ID?
      • What to do when upgrade fails?
      • Auto Forward Messages has a free version ?
      • How to connect multiple account telegram to Auto Forward Messages BOT?
      • How to NOT get banned from Telegram?
      • How to Recover a Banned Number on Telegram
      • Trick to Continuously Forward Multiple Messages on Telegram
      • Why Telegram Account Limited Error?
      • What if you do not want to login?
      • Why account BANNED?
      • Why do I have to give account access to your bot?
      • Can someone else see my login details?
      • Can I logout without removing my data?
      • Can I remove my details from your server?
      • How to Reset All Config
      • When my task forwards stop working, what can I do?
      • Is there a "Forwarded from" header when copying messages from source chat using this bot?
      • Can the source chat owner know that I am copying messages using this bot?
      • Are all the messages sent on time? Is there any delay in the message?
      • Do I require to keep my internet on when running this bot?
      • Can I forward from a private channel?
      • Does this bot have any message limitation?
      • How to Add text to beginning or end of each message
      • Can I add more features?
      • I found a bug, how can I solve it?
      • Why do I see an "iPhone 8 Plus" device
      • What should you do if you encounter problems with Auto Forward Messages?
    • 📔Change log
    • 📨Contact US
Powered by GitBook
On this page
  • How It Works
  • 1. Accessing the Replace Feature
  • 2. Create Whitelist Rule
  • Options Whitelist Type
  • 1. Enter a Label
  • 2. Select Whitelist Type
  • 3. Full Content (Optional)
  • 4. Apply to Tasks (Optional)
  • 5. Save the Rule
  • 4. Whitelist Type
  • 1. Basic Whitelist
  • 2. Regex Whitelist
  • 3. Whitelist By User (Platinum Plan Only)
  • 5. Apply/Disable Replace For a Task
  • 6. Tips for Using Whitelist
  • Why Use Whitelist?
  1. Fundamentals
  2. Whitelist: Create And Management

Whitelist On Mobile App/WebApp

PreviousWhitelist: Create And ManagementNextBlacklist: Create And Management

Last updated 4 months ago

The Whitelist feature allows you to define a list of approved users, groups, or channels whose messages will be forwarded. This ensures that only content from specific sources is included in the forwarding process, helping you filter and control message flow effectively.


How It Works

  • When you add a user, group, or channel to the Whitelist, their messages will be forwarded.

  • Messages from sources not on the Whitelist will be ignored.

  • If no Whitelist is set up, messages from all sources are forwarded (unless other filters like Blacklist are applied).


1. Accessing the Replace Feature

On Mobile App

  1. Open the .

  2. Go to the Dashboard.

  3. Tap on the Whitelist icon (highlighted below).

On Web Dashboard

  1. In the left-hand menu under Features, click on Whitelist.

Next Tap on the Add New button (as shown in the image below):

2. Create Whitelist Rule

Options Whitelist Type

You can choose one of the following Whitelist Types:

  • Basic: Add simple words or phrases to the whitelist.

  • Regex: Use Regular Expressions (Regex) for advanced filtering.

  • Whitelist by User: Whitelist messages from specific users.

1. Enter a Label

  • Add a Label to identify your whitelist rule.

  • Example: trusted_words or filter_links.

2. Select Whitelist Type

  • Basic: Enter one or more words (separate them with commas).

    • Example: hello,cat,dog.

  • Regex: Use a regex pattern for advanced filtering.

    • Example: \bhello\b (matches the word "hello" fully).

  • Whitelist By User: Add usernames or user IDs to whitelist specific senders.

3. Full Content (Optional)

  • You can paste the original content to test or match against the rule.

4. Apply to Tasks (Optional)

  • In the Apply For Task field, select a specific task if needed.

5. Save the Rule

  • Tap Create Whitelist to save and activate the rule.

4. Whitelist Type

1. Basic Whitelist

The Basic Whitelist allows you to forward messages containing specific words or phrases.

Steps to Use

  1. Go to Whitelist → Tap Add New.

  2. Select Basic in the Whitelist Type dropdown.

  3. Add the words/phrases to the Content Whitelist field.

  4. Tap Create Whitelist to save.

Example Scenarios

  • Forward messages containing "news" or "alert"

    • Content Whitelist: news,alert

    • Example Message:

      Breaking news: Market is rising fast!  
    • Result: Forwarded ✅

  • Forward messages containing "update" or "report"

    • Content Whitelist: update,report

    • Example Message:

      Daily update: Please check the sales report.  
    • Result: Forwarded ✅


2. Regex Whitelist

The Regex Whitelist is used for advanced matching. It allows you to use Regular Expressions to filter messages based on patterns.

Steps to Use

  1. Go to Whitelist → Tap Add New.

  2. Select Regex in the Whitelist Type dropdown.

  3. Enter the Regex pattern in the Content Whitelist field.

  4. Tap Create Whitelist to save.

Combine with many condition AND, OR

What are AND and OR Conditions?

  1. AND Condition:

    • Ensures that all specified conditions must be met for a message to pass the Whitelist filter.

    • Example: A message must contain "BUY" and "SL: 13213".

  2. OR Condition:

    • Ensures that any one of the specified conditions is met for a message to pass the Whitelist filter.

    • Example: A message must contain "BUY" or "SELL".


Add AND/OR Conditions

  1. To Add an AND Condition:

    • Tap the + AND button to add another condition that must also be met.

    • Example: After entering BUY, add SL: 13213.

    Result: The message must include both "BUY" and "SL: 13213" to pass the filter.

  2. To Add an OR Condition:

    • Tap the + OR button to add another condition where either can be met.

    • Example: After entering BUY, add SELL.

    Result: The message must include either "BUY" or "SELL" to pass the filter.


Example Scenarios

  • Forward messages containing Telegram links

    • Regex Pattern:

      (telegram.me|t.me)/\w+  
    • Example Message:

      Join us at https://t.me/example_channel.  
    • Result: Forwarded ✅

  • Forward messages containing "black" or "white"

    • Regex Pattern:

      (black|white)  
    • Example Message:

      The shirt is black, and the shoes are white.  
    • Result: Forwarded ✅

  • Forward messages with the word "es" as a full word

    • Regex Pattern:

      \bes\b  
    • Example Message:

      This is es.  
    • Result: Forwarded ✅

  • Forward messages containing both "work1" and "work2" fully

    • Regex Pattern:

      ^(?=.*\bwork1\b)(?=.*\bwork2\b).*  
    • Example Messages:

      • ✅ I have work1 to do and work2 as well.

      • ✅ work1 and work2 are both important.

      • ❌ Only work1 is complete.

  • Forward messages containing either "red" or "blue"

    • Regex Pattern:

      (red|blue)  
    • Example Message:

      The car is blue.  
    • Result: Forwarded ✅


3. Whitelist By User (Platinum Plan Only)

The Whitelist By User feature allows you to forward messages only from specific users, channels, or groups that you select. By using a Whitelist, you can specify which users' messages should be forwarded using their USER_ID or USERNAME.


How to Use Whitelist By User

To forward messages only from selected users, follow these steps:

  1. Find the User ID of the users you want to whitelist:

    • Open the chat where you want to forward messages from specific users.

    • Use the command /getid in the chat.

    • Note down the User ID that appears in the response.

    Example:

    /getid
    
    âžĄī¸ User ID: 123456789

    Note: Make sure you are using a Telegram account connected to the AutoForward Telegram Bot to execute the /getid command.

  2. Create a Whitelist Rule in the app:

    • Go to Dashboard → Tap on Whitelist → Add New.

    • Select Whitelist By User as the Whitelist Type.

    • In the Content Whitelist field:

      • Enter the User ID (e.g., 123456789) or the Username (e.g., @trusted_user).

    • Tap Create Whitelist to save the rule.


Example Scenario

Use Case: Forward messages only from a trusted user.

  • Content Whitelist: 123456789 or @trusted_user

  • Example Message:

    Hello, here is the latest report.  
  • Result:

    • If sent by the whitelisted user (123456789 or @trusted_user): Forwarded ✅

    • If sent by any other user: Blocked ❌


Why Use Whitelist By User?

  • Allows you to control and limit message forwarding to trusted users only.

  • Ensures your forwarded messages are from verified and relevant sources.

  • Enhances filtering accuracy by targeting specific User IDs or Usernames.


5. Apply/Disable Replace For a Task

The Whitelist feature allows you to control which messages are forwarded based on keywords, regex patterns, or specific users. This guide explains how to apply or disable Whitelist rules for individual tasks or globally across all tasks.

Step 1: Access the Whitelist List

  1. From the Dashboard, select the Whitelist feature.

  2. You will see a list of all previously created Whitelist rules.


Step 2: Select a Whitelist Rule

  1. Locate the Whitelist rule you want to manage.

  2. Tap or click on the rule.

    A popup window will appear, displaying the details of the selected Whitelist rule.


Step 3: Manage the Whitelist Rule for Tasks

In the popup window, the following options are available:

  1. Activate/Deactivate For Task (Green Button)

    • Use this option to enable or disable the Whitelist rule for a specific task.

    • If the rule is already active, clicking this will deactivate it for the selected task.

    • If the rule is inactive, clicking this will activate it for the selected task.


  1. Apply For All Tasks (Blue Button)

    • This option allows you to apply the Whitelist rule to all existing tasks.

    • Use this feature when you want the Whitelist rule to work globally across all tasks.


  1. Edit Whitelist (Orange Button)

    • Tap this option to edit the Whitelist rule.

    • You can update the label, content keywords, regex patterns, or user-specific rules.


  1. Delete (Red Button)

    • Use this option to delete the Whitelist rule permanently.

    • Be cautious: once deleted, the rule cannot be recovered.

6. Tips for Using Whitelist

  1. Use Basic for simple word-based filtering.

  2. Use Regex for more complex patterns (e.g., URLs, mentions, or exact word matches).

  3. Be precise with Regex to avoid matching unintended content.

  4. Add clear and descriptive Labels for easier rule management.


Why Use Whitelist?

  • Ensure only relevant content is forwarded.

  • Filter messages based on specific words, patterns, or trusted users.

  • Improve control and accuracy of message forwarding.

Log in to the Dashboard.

Test your Regex patterns on before applying them.

✅
Auto Forward Web
regex101.com
Auto Forward mobile app