Skip to content

Commands

Every command has some variables in common. Below you will find their meaning so you can use them. You can run every command without arguments and it will return its help menu.

  • PHONE_NUMBER -> Phone number for the command to act upon
  • REDIRECTIONID -> When you create redirections, you give them an ID to reference in other commands. When a comand asks you for REDIRECTIONID it means it wants the name/title you used when you created the redirection.
  • ACTION -> What action to do for the command. Commands like /transformation and /redirection have an add and remove ACTION
  • FEATURE -> Commands like /transformation have a FEATURE argument which is used to tell the bot what feature of the command you want to use.

Every Example Command you see in this documentation is using dummy values so don't copy and paste it.

Connect

/connect PHONE_NUMBER

This command is used for connecting telegram accounts with TeleFeed. You need to run this first before trying to run other commands since they rely on you having a number connected.

Command Example

Connecting to TeleFeed with PHONE_NUMBER=2759205517

/connect 2759205517

Connecting to TeleFeed with the number 2759205517
Remember to always add your country prefix otherwise the connection might fail.

After you type the command with your OWN TELEGRAM PHONE NUMBER, TeleFeed will ask you to enter the code that you got from telegram (Its a 5 digit code number).

Make sure to follow every instruction from TeleFeed (such as when it asks you to enter the code with aa in front).

If you are using a Two Factor Authentication you will be asked to enter that too.

Important: Whenever you enter a code on this command make sure you add aa in front such as the code 52234 becomes aa52234. Same thing applies to 2FA

Redirection

/redirection ACTION REDIRECTIONID on PHONE_NUMBER
/redirection PHONE_NUMBER

This command is used for setting up redirections for TeleFeed. This command should be run after you have already connected a telegram account with /connect command

You can use the /chats command to get channel/users/groups ID's for use with this command

Command Example

Setting up redirection with REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/redirection add group1 on 2759205517

Removing redirection with REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/redirection remove group1 on 2759205517

Changing redirection with REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/redirection change group1 on 2759205517

Showing all active redirections on PHONE_NUMBER=2759205517

/redirection 2759205517

After typing the command you will be asked to enter ID's of the channel/groups/users you want to use as SOURCE and TARGET.

The right syntax to type it is as:
SOURCE - TARGET

Where SOURCE is the channel/user/group you want to redirect messages from and TARGET is the channel/group/user you want to redirect message into.

Syntax Example

Redirect messages from SOURCE: 708415014 to TARGET:642797040
708415014 - 642797040

Redirect messages from multiple SOURCES to TARGET
53469647,708415014 - 20801978

Redirect messages from SOURCE to Multiple TARGETS
20801978 - 53469647,708415014 

Min Source/Target Number: -2147483648
Max Source/Target Number: 2147483647

Redirection Settings

This menu is used for controlling redirection setttings such as reply, edit, delete and more

To reach this first you will need to type /settings on TeleFeed, then click on 2759205517 to open settings menu for 2759205517 phone number. Now click on group1 so you can access the setup settings. Finally the Redirection Menu will show up and you can proceed by clicking on it

Available Options:

  • Process Reply: Turn this ON if you want to properly process replies
  • Process Edit: Turn this ON if you want to edit messages if they got edited in the SOURCE
  • Process Delete: Turn this ON if you want to remove messages if they got removed in the SOURCE
  • Process Me: Turn this ON if you want to redirect your own messages from SOURCE
  • Process Forward: Turn this ON if you want to FORWARD messages instead of writting them as user
  • Process Duplicates: Turn this OFF if you want to block duplicate messages from forwarding.

Filters

This menu is used to filter messages by type. Using it will tell TeleFeed which messages you want to process and which ones to ignore

To reach this first you will need to type /settings on TeleFeed, then click on 2759205517 to open settings menu for 2759205517 phone number. Now click on group1 so you can access the setup settings. Finally the Filters Menu will show up and you can proceed by clicking on it

Access Filters Menu for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/settings > 2759205517 > group1 > Filters

Available Filters:

  • Audio: Turn this ON if you want to ignore audio messages
  • Videos: Turn this ON if you want to ignore video messages
  • Voicenotes: Turn this ON if you want to ignore voicenotes messages
  • Animations: Turn this ON if you want to ignore message that contain animations (gif etc)
  • Photos: Turn this ON if you want to ignore photo messages
  • Stickers: Turn this ON if you want to ignore sticker messages
  • Document: Turn this ON if you want to ignore document messages
  • Text: Turn this ON if you want to ignore messages that contain text
  • Caption: Turn this ON if you want to ignore messages that contain captions

Tip: You can choose to filter for multiple conditions at once by keeping them on

Cleaner

This menu is used to remove text, video, photo etc from messages if the conditions match. It's basically Filters but instead of ignoring or allowing messages, it removes the content it matches

To reach this first you will need to type /settings on TeleFeed, then click on 2759205517 to open settings menu for 2759205517 phone number. Now click on group1 so you can access the setup settings. Finally the Cleaner Menu will show up and you can proceed by clicking on it

Access Filters Menu for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/settings > 2759205517 > group1 > Cleaner

Available Cleaners:

  • Audio: Turn this ON if you want to remove audio from messages
  • Videos: Turn this ON if you want to remove video from messages
  • Voicenotes: Turn this ON if you want to remove voicenotes from messages
  • Animations: Turn this ON if you want to remove animations (gif, etc) from messages
  • Photos: Turn this ON if you want to remove photo from messages
  • Stickers: Turn this ON if you want to remove sticker from messages
  • Document: Turn this ON if you want to remove document from messages
  • Text: Turn this ON if you want to remove text from messages
  • Caption: Turn this ON if you want to remove caption from messages

Tip: Same as Filters, you can keep on multiple conditions at once

Transformation

/transformation ACTION FEATURE REDIRECTIONID on PHONE_NUMBER

This command is used for setting up transformations for your redirections on TeleFeed. This command should be run after you have already connected a telegram account with /connect command and have one or more redirections active.

With this command you can change messages format, remove words from messages or remove lines if keyword is in it.

Command Example

Add (format|power|removeLines) on group1

/transformation add format group1 on 2759205517
/transformation add power group1 on 2759205517
/transformation add removeLines group1 on 2759205517

Remove (format|power|removeLines) on group1

/transformation remove format group1 on 2759205517
/transformation remove power group1 on 2759205517
/transformation remove removeLines group1 on 2759205517

Show active transformations for grp1 on 2759205517

/transformation active grp1 on 2759205517

Show active transformations on 2759205517

/transformation active on 2759205517

Clear grp1 transformations on 2759205517

/transformation clear grp1 on 2759205517

Clear transformations on 2759205517

/transformation clear on 2759205517

1. Format Feature

This feature is used to change the output format for the message. Basically you can add text on the message and have it output like that (for example a header or footer etc)

Command Example

/transformation add format group1 on 2759205517
/redirection format 2759205517

After typing the command you will be asked to enter how you want to message to output as.
In this example we will show how to turn the message.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, 
when an unknown printer took a galley of type and 
scrambled it to make a type specimen book.

into

Inserted Header from Telefeed

Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, 
when an unknown printer took a galley of type and 
scrambled it to make a type specimen book.

Inserted Footer from Telefeed

The syntax we need to use to make the changes as shown above is as follow.

Inserted Header from Telefeed

[[Message.Text]]

Inserted Footer from Telefeed

TeleFeed will look at this and replace [[Message.Text]] with the actual message and we will get the output we desire.

You can use the following keywords:

  • [[PROCESS_EMPTY]] -> Normally format will ignore empty messages (media etc). If you add this variable then it will start formatting empty messages. This can be used for adding USERNAME, GROUP_NAME on MEDIA

  • [[Message.Text]] -> The source message text content

  • [[Message.Group]] -> The source message group name

  • [[Message.Username]] -> The user Username that sent the message

  • [[Message.First_Name]] -> The user First Name that sent the message
  • [[Message.Last_Name]] -> The user Last Name that sent the message

  • [[Message.File.Filename]] -> The source message file filename

  • [[Message.File.File_Size]] -> The source message file filesize
  • [[Message.File.File_Ext]] -> The source message file file extension

Tip: To change format you can just run the same command again. Tip: This command does not work well with emoji and icon characters. You can use them but this command result might not be correctly in that case.

2. Remove Lines Feature

This feature is used to remove lines from the message. You will use keywords to check message lines and if a keyword or one of the keywords (if multiple) is found on the line, TeleFeed will remove that line from the final result.

Command Example

/transformation add removeLines group1 on 2759205517
/redirection remove removeLines group1 on 2759205517
/redirection removeLines 2759205517

After typing the command you will be asked to enter which keywords you want to look for in the message. You can enter multiple lines so the bot looks for multiple keywords etc.

Syntax Example

good, bad
apple

The setup we made above will look on every message if a line has the keyword apple (only) or if a line has the keywords good and bad (both) and remove it.

Important: This command is not used for removing keywords from the message, what it does is remove the whole line if it contains the keyword. For removing just the keyword you will need to use the next feature

3. Power Feature

This is one of the most powerful feature this bot has. It is used to remove and change keywords from the message. You can use regex with this feature

Important: You need to be careful with this command since it insert some wrong syntax (like wrong regex) it will stop message from redirecting. To fix it you just need to remove power feature.

Command Example

/transformation add power group1 on 2759205517
/transformation power group1 on 2759205517

Syntax Example (Simple)

Use the syntax as shown below when you want to replace words or full paragraphs.

Change red to blue

"red","blue"

Change 22 to 40

"22","40"

Change 2+1=3 to 2+2=4

"2+1=3","2+2=4"

Remove keyword red from the message

"red",""

Change paragraph I do not like this text to This is better

"I do not like this text","This is better"

Syntax Example (Advanced)

Use the syntax as shown below when you want to achive result that is not possible with the simple syntax. This syntax uses regex to replace words and keywords.

Do not use this syntax if you do not know regex because bad usage can stop your redirection.

Change telegram.me or tm.me to test.com

(telegram\.me|tm\.me)\/\w+=test.com

Use regex to match gray or grey and change it to red

gr[ae]y=red

Unshort urls, match tag (query) and change it to client1

url:tag=client1

Match every url or @mention and change it to @tg_feedbot

(@|www|https?)\S+=@tg_feedbot

Remove word red from the message

You can use multiline configurations like. In that case the bot will try to match every line on the message and act on it.

"2+1=3","2+2=4"
(@|www|https?)\S+=@tg_feedbot

After this TeleFeed will ask you for some text or you can forward a message.
Then TeleFeed will run your POWER Syntax on that message and return you the result.
This way you will know if you have written the right syntax for what you need.

If the result is correct you just have to click on the Correct button otherwise click Incorrect button.

Tip: To use regex effectivity, test your regex on regex101.com
Make sure to use the Python Flavor otherwise your regex will not work on TeleFeed

4. Remove

You can use this command to remove configuration from power feature.

## Syntax
/transformation remove FEATURE REDIRECTIONID on PHONE_NUMBER

## Example
/transformation remove power group1 on 2759205517

5. Clear configuration from /transformation

You can clear your current configuration on /transformation using the following syntax

/transformation remove REDIRECTIONID on PHONE_NUMBER

It will remove every config you have with format, removeLines and power on that REDIRECTIONID

6. Show Active Configuration

To show active configuration on /transformation you need to use the following syntax.

/transformation active on PHONE_NUMBER

Whitelist

You can set a list of words or regex patterns that tell the bot to process message you receive from source channel only if it has at least one of the whitelisted word or regex pattern match.

/whitelist ACTION REDIRECTIONID on PHONE_NUMBER
/whitelist ACTION on PHONE_NUMBER

Command Example

Add whitelist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/whitelist add group1 on 2759205517

Remove whitelist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/whitelist remove group1 on 2759205517

Change whitelist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/whitelist change group1 on 2759205517

Show active whitelist on PHONE_NUMBER: 2759205517

/whitelist active on 2759205517

Clear all whitelist on PHONE_NUMBER: 2759205517

/whitelist clear on 2759205517

TeleFeed will ask you to input the keywords you want to whitelist.

Syntax Example

The synax for this command is the same as /transformation power feature

Process messages only if it has the word bad in it. (REGEX DISABLED)

"bad"

Process messages only if it has the any @mention word on it. (REGEX ENABLED)

@\S+

Tip: Normal keywords are faster than regex, so use them if you do not need regex.
Tip: To disable regex just wrap the word in quotes such as the word bad becomes "bad"
Tip: To use regex effectivity, test your regex on regex101.com
Tip: Make sure to use the Python Flavor otherwise your regex will not work on TeleFeed

Blacklist

You can set a list of words or regex patterns which tells the bot that if the message received from source channel has any of the blacklisted words or regex pattern match the bot should ignore that message and do not process it even if it passes all other conditions.

/blacklist ACTION REDIRECTIONID on PHONE_NUMBER
/blacklist ACTION on PHONE_NUMBER

Command Example

Add blacklist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/blacklist add group1 on 2759205517

Remove blacklist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/blacklist remove group1 on 2759205517

Change blacklist for REDIRECTIONID: group1 on PHONE_NUMBER: 2759205517

/blacklist change group1 on 2759205517

Show active blacklist on PHONE_NUMBER: 2759205517

/blacklist active on 2759205517

Clear all blacklist on PHONE_NUMBER: 2759205517

/blacklist clear on 2759205517

TeleFeed will ask you to input the keywords you want to blacklist.

Syntax Example

The synax for this command is the same as /transformation power feature

Process messages only if it has the word bad in it. (REGEX DISABLED)

"bad"

Process messages only if it has the any @mention word on it. (REGEX ENABLED)

@\S+

Tip: Normal keywords are faster than regex, so use them if you do not need regex.
Tip: To disable regex just wrap the word in quotes such as the word bad becomes "bad"
Tip: To use regex effectivity, test your regex on regex101.com
Tip: Make sure to use the Python Flavor otherwise your regex will not work on TeleFeed

Chats

This command is used to get a list of groups, bots, channels or users ID's for use /redirection command.

/chats PHONE_NUMBER

Command Example

Getting chats for PHONE_NUMBER: 2759205517

/chats 2759205517

Bot Settings

On this menu you will find settings such as Start, Stop, Performance Rate and more.

Available Options:

  • Start: Used to start TeleFeed
  • Stop: Used to stop TeleFeed
  • Disconnect Account: This removes your account from TeleFeed. When you use Disconnect Account, TeleFeed will not login into your account unless you use /connect again
  • Export: You can use this option to Export TeleFeed configuration so you can import it on another account.
  • Import: After using Export, you will need to import the configuration for usage. You can use this option to import any TeleFeed configuration
  • Improve Performance: This option increases TeleFeed Performance. The reason this option is OFF by default is because using it will cause TeleFeed to forward messages out of order. If you do not care about message order, turning this setting ON will increase performance by a big margin
  • Burst Mode: This option controls message rate for TeleFeed. Message rate means the number of messages TeleFeed can send at once. If this option is set to HIGH (default) then TeleFeed will use its max rate for sending messages. Sometimes this might cause Telegram Account Limited Error which is why we offer a way to lower this rate.

Tip: Telegram Account Limited Error is an error which happens when an account sends many messages at once. This does not cause any permanent issues with the account. When this error happens TeleFeed will not send any more messages via the account. This is because Telegram gives an Temporary Wait Limit so TeleFeed will need to for that to expire before it sends another message.

Action

This command can be used to bypass bots which hide messages or get content from Telegram official GmailBot. Right now this command can bypass both alert & text rewrite modes

/action ACTION REDIRECTIONID on PHONE_NUMBER

Command Example

Add Action group1 on 2759205517

/action add group1 on 2759205517

Remove Action from group1 on 2759205517

/action remove group1 on 2759205517

Remove all Actions from group1 on 2759205517

/action clear group1 on 2759205517

TeleFeed will then ask you to about the button title. You do not need to fully match the name, for example if you want TeleFeed to click a button with title ▼ Read More, you can just specify Read More and TeleFeed will match it.

Translate

This command is used for setting up translation for your redirection groups.

/translate SRC DEST REDIRECTIONID on PHONE_NUMBER
/translate remove REDIRECTIONID on PHONE_NUMBER
  • SRC -> Language you want to translate from
  • DEST -> Language you want to translate into

Command Example

Translate from src=English to dest=Italian for REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/translate en it group1 on 2759205517

Remove translate setup for REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/translate remove group1 on 2759205517

Language Code for using this command

'af': 'afrikaans',
'sq': 'albanian',
'am': 'amharic',
'ar': 'arabic',
'hy': 'armenian',
'az': 'azerbaijani',
'eu': 'basque',
'be': 'belarusian',
'bn': 'bengali',
'bs': 'bosnian',
'bg': 'bulgarian',
'ca': 'catalan',
'ceb': 'cebuano',
'ny': 'chichewa',
'zh-cn': 'chinese (simplified)',
'zh-tw': 'chinese (traditional)',
'co': 'corsican',
'hr': 'croatian',
'cs': 'czech',
'da': 'danish',
'nl': 'dutch',
'en': 'english',
'eo': 'esperanto',
'et': 'estonian',
'tl': 'filipino',
'fi': 'finnish',
'fr': 'french',
'fy': 'frisian',
'gl': 'galician',
'ka': 'georgian',
'de': 'german',
'el': 'greek',
'gu': 'gujarati',
'ht': 'haitian creole',
'ha': 'hausa',
'haw': 'hawaiian',
'iw': 'hebrew',
'hi': 'hindi',
'hmn': 'hmong',
'hu': 'hungarian',
'is': 'icelandic',
'ig': 'igbo',
'id': 'indonesian',
'ga': 'irish',
'it': 'italian',
'ja': 'japanese',
'jw': 'javanese',
'kn': 'kannada',
'kk': 'kazakh',
'km': 'khmer',
'ko': 'korean',
'ku': 'kurdish (kurmanji)',
'ky': 'kyrgyz',
'lo': 'lao',
'la': 'latin',
'lv': 'latvian',
'lt': 'lithuanian',
'lb': 'luxembourgish',
'mk': 'macedonian',
'mg': 'malagasy',
'ms': 'malay',
'ml': 'malayalam',
'mt': 'maltese',
'mi': 'maori',
'mr': 'marathi',
'mn': 'mongolian',
'my': 'myanmar (burmese)',
'ne': 'nepali',
'no': 'norwegian',
'ps': 'pashto',
'fa': 'persian',
'pl': 'polish',
'pt': 'portuguese',
'pa': 'punjabi',
'ro': 'romanian',
'ru': 'russian',
'sm': 'samoan',
'gd': 'scots gaelic',
'sr': 'serbian',
'st': 'sesotho',
'sn': 'shona',
'sd': 'sindhi',
'si': 'sinhala',
'sk': 'slovak',
'sl': 'slovenian',
'so': 'somali',
'es': 'spanish',
'su': 'sundanese',
'sw': 'swahili',
'sv': 'swedish',
'tg': 'tajik',
'ta': 'tamil',
'te': 'telugu',
'th': 'thai',
'tr': 'turkish',
'uk': 'ukrainian',
'ur': 'urdu',
'uz': 'uzbek',
'vi': 'vietnamese',
'cy': 'welsh',
'xh': 'xhosa',
'yi': 'yiddish',
'yo': 'yoruba',
'zu': 'zulu',
'fil': 'Filipino',
'he': 'Hebrew'

This command will not work if you use wrong language codes.

Clone

This command is used for cloning (mirror) chats/channels or users messages from SOURCE to TARGET

/clone SOURCE TARGET on PHONE_NUMBER
/clone SOURCE TARGET LIMIT on PHONE_NUMBER
  • SOURCE -> Chat/User you want to clone messages from
  • TARGET -> Chat/User you want to clone messages into

If you have a redirection setup with the same ID's (SOURCE, TARGET) when using this command. It will use the your redirection setup (transformation, filtering) when applying this command.

Command Example

Clone from SOURCE=2759205517 to TARGET=28887387 on PHONE_NUMBER=2759205517

/clone 2759205517 28887387 on 2759205517

Clone from SOURCE=2759205517 to TARGET=28887387 with LIMIT=200 on PHONE_NUMBER=2759205517

/clone 2759205517 28887387 200 on 2759205517

Warning!
Because this commands sends a high amount of messages in a short time it will cause temporary limits from telegram servers. Basically when this happens you will not be able to send any message from this account for 5 minutes to 1 hour depending on the limit.

You will get a notification from the bot when such a limit is encountered (You will also notice yourself since you will not be able to send any message when that happens). There's no way around this other than not using this command.

Important: When using this command, the bot might delay message redirection for your setups.

Scheduler

You can define start and stop time for each of your redirection setup using this command.

/scheduler ACTION REDIRECTIONID on PHONE_NUMBER

Add schdule for REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/scheduler add group1 on 2759205517

Remove schdule for REDIRECTIONID=group1 on PHONE_NUMBER=2759205517

/scheduler remove group1 on 2759205517

Clear all schedules for PHONE_NUMBER=2759205517

/scheduler clear on 2759205517

After running the above commands you will be asked to input the time that you want TeleFeed to turn on and off your setups. Here are a few example syntax on how to do this.

Start at 12:30 and Stop at 2:30

12:30 - 2:30

Start at 09:00 and Stop at 21:00

9:00 - 21:00

That's all. Now TeleFeed will (based on first example) turn on group1 at 12:30 and turn off at 2:30

Selectusers

You can set a list of user id s to tell the bot to process messages you receive from source channel only if it matches at least one of the user id's on the list.

/selectusers REDIRECTIONID> on PHONE_NUMBER

Command Example

Setup for REDIRECTIONID=grp on PHONE_NUMBER=2759205517

/selectusers group1 on 2759205517

After running the above command you will be asked to input a list of users id's.
Input the user you want to allow messages from. Separate them using commads , for multiple users.

6516516,651651651,16516516

That's all. Now every time you receive a message on group1 SOURCE, the bot will check if the user who sent the message is allowed. If so it will process the message otherwise it will not.

Bitly

This command is used for configuring bitly access for TeleFeed

/bitly TOKEN

Command Example

Setting bitly api with TOKEN=43nafkiynmy7pn7lkqgiuwn6krquwisvjsdbgf

/bitly 43nafkiynmy7pn7lkqgiuwn6krquwisvjsdbgf

Watermark

You can use this command to add logo to every media TeleFeed forwards.

/watermark ACTION REDIRECTIONID on PHONE_NUMBER

Command Example

Add Watermark group1 on 2759205517

/watermark add group1 on 2759205517

Remove Watermark group1 on 2759205517

/watermark remove group1 on 2759205517

Remove all watermarks from 2759205517

/watermark clear on 2759205517

PlanSwap

This command is used to exchange plans between phone numbers. To use this command you need to have both phone numbers connected with TeleFeed and the Target Phone Number should be on Free Plan

This command has a fee of 1 day for each usage. This means that when you move a 30 Days Pro Plan from 27505517, you will get 29 Days of Pro Plan on 32529517

/planswap SOURCE_PHONE_NUMBER TARGET_PHONE_NUMBER

Command Example

Exchange Plan from 27505517 to 32529517

/planswap 27505517 32529517

Delay

This command is used for setting up delays for your redirections.

/delay VALUE REDIRECTIONID on PHONE_NUMBER

Command Example

Delay REDIRECTIONID=group_1 by Value=120sec on PHONE_NUMBER=2759205517

/delay 120 group1 on 2759205517

Delay all redirections by Value=120sec on PHONE_NUMBER=2759205517

/delay 120 group1 on 2759205517

Settings

This command will show you a menu which you can access Bot Settings, Redirection Settings, Filters Menu and Cleaners Menu

Config

This command is used to get a message with your active configuration. You can use it for when you don't know what redirections, filters, cleaners etc you have active.

/config

Clear

This command is used to clear your active configuration.

/clear PHONE_NUMBER