Blacklist On Mobile App/WebApp
Here is the Blacklist documentation based on the structure and details provided for the Whitelist feature:
Blacklist: Block Messages Based on Words, Patterns, or Users
The Blacklist feature allows you to define a list of blocked users, groups, or channels whose messages will not be forwarded. This ensures that unwanted content from specific sources is excluded from the forwarding process, helping you maintain control and relevance in message flow.
How It Works
When you add a user, group, or channel to the Blacklist, their messages will be blocked.
Messages from sources on the Blacklist will not be forwarded.
If no Blacklist is set up, messages from all sources will be forwarded (unless other filters like Whitelist are applied).
1. Accessing the Blacklist Feature
On Mobile App
Open the Auto Forward mobile app.
Go to the Dashboard.
Tap on the Blacklist icon.
On Web Dashboard
Log in to the Auto Forward Web Dashboard.
In the left-hand menu under Features, click on Blacklist.
Next Step
Tap on the Add New button to create a new Blacklist rule.
2. Create Blacklist Rule
Options for Blacklist Type
You can choose one of the following Blacklist Types:
Basic: Add simple words or phrases to the Blacklist.
Regex: Use Regular Expressions (Regex) for advanced filtering.
Blacklist By User: Block messages from specific users.
Steps to Create a Blacklist Rule
1. Enter a Label
Add a Label to identify your Blacklist rule.
Example:
block_words
,remove_links
.
2. Select Blacklist Type
Basic: Enter one or more words (separate them with commas).
Example:
spam,ad,unwanted
.
Regex: Use a regex pattern for advanced filtering.
Example:
\bunwanted\b
(matches the word "unwanted" fully).
Blacklist By User: Add usernames or user IDs to block specific senders.
3. Full Content (Optional)
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 Blacklist to save and activate the rule.
3. Blacklist Types
1. Basic Blacklist
The Basic Blacklist allows you to block messages containing specific words or phrases.
Steps to Use
Go to Blacklist â Tap Add New.
Select Basic in the Blacklist Type dropdown.
Add the words/phrases to the Content Blacklist field.
Tap Create Blacklist to save.
Example Scenarios
Block messages containing "spam" or "ad"
Content Blacklist:
spam,ad
Example Message:
Result: Blocked â
Block messages containing "promotion" or "unsubscribe"
Content Blacklist:
promotion,unsubscribe
Example Message:
Result: Blocked â
2. Regex Blacklist
The Regex Blacklist is used for advanced matching. It allows you to use Regular Expressions to block messages based on patterns.
Steps to Use
Go to Blacklist â Tap Add New.
Select Regex in the Blacklist Type dropdown.
Enter the Regex pattern in the Content Blacklist field.
Tap Create Blacklist to save.
Combine Conditions with AND/OR
AND Condition: All specified conditions must be met.
OR Condition: Any one of the specified conditions must be met.
What are AND and OR Conditions?
AND Condition:
Ensures that all specified conditions must be met for a message to be blocked.
Example: A message must contain "buy" and "cheap" to be blocked.
OR Condition:
Ensures that any one of the specified conditions is met for a message to be blocked.
Example: A message must contain "spam" or "ad" to be blocked.
How to Add AND/OR Conditions
Add an AND Condition:
Tap the + AND button to add another condition that must also be met.
Example: After entering
buy
, addcheap
.
Result: Messages containing both "buy" and "cheap" will be blocked.
Add an OR Condition:
Tap the + OR button to add another condition where either can be met.
Example: After entering
spam
, addad
.
Result: Messages containing either "spam" or "ad" will be blocked.
Example Scenarios
Block messages containing links
Regex Pattern:
Example Message:
Result: Blocked â
Block messages containing "scam" or "fraud"
Regex Pattern:
Example Message:
Result: Blocked â
Block messages containing both "buy" and "cheap"
Regex Pattern:
Example Message:
Result: Blocked â
Example Scenarios Combine Multiple AND/OR Conditions
Block Messages Containing Both "buy" and "cheap"
Condition:
Content Blacklist:
buy
Add Condition: + AND â
cheap
Example Message:
Result: Blocked â
Block Messages Containing Either "spam" or "ad"
Condition:
Content Blacklist:
spam
Add Condition: + OR â
ad
Example Message:
Result: Blocked â
Combine Multiple AND/OR Conditions
Condition:
Content Blacklist:
buy
Add Condition: + AND â
cheap
Add Condition: + OR â
scam
Example Messages:
Buy this product for a cheap price!
: Blocked âThis is a scam message
: Blocked âBuy now
: Not Blocked â
3. Blacklist By User (Platinum Plan Only)
The Blacklist By User feature allows you to block messages from specific users, channels, or groups.
How to Use Blacklist By User
Use the
/getid
command to find the User ID of the sender.Example:
Go to Dashboard â Tap on Blacklist â Add New.
Select Blacklist By User as the Blacklist Type.
Enter the User ID (e.g.,
123456789
) or the Username (e.g.,@blocked_user
).Tap Create Blacklist to save the rule.
Example Scenario
Use Case: Block messages from a spammer.
Content Blacklist:
123456789
or@spammer_user
.Result: Messages from the user will be blocked.
4. Apply/Disable Blacklist For a Task
Steps
From the Dashboard, select the Blacklist feature.
Locate the Blacklist rule you want to manage.
Tap on the rule to open the popup window.
Options
Activate/Deactivate For Task: Enable or disable the rule for a specific task.
Apply For All Tasks: Apply the rule globally across all tasks.
Edit Blacklist: Update keywords, regex patterns, or user IDs.
Delete: Permanently remove the rule.
5. Tips for Using Blacklist
Use Basic for simple word-based filtering.
Use Regex for complex patterns like URLs, mentions, or phrases.
Regularly review and update Blacklist rules for optimal performance.
Test Regex patterns using regex101.com.
Why Use Blacklist?
Prevents unwanted content from being forwarded.
Blocks spam and irrelevant messages.
Ensures better control over message forwarding.
With the Blacklist feature, you can effectively block messages based on words, patterns, or specific senders, ensuring only relevant content is forwarded. đ
Last updated