Telegram client that forwards all messages from the selected channels/chats to another one
- Need python 3.5 or higher
pip3 install telethon
wget https://raw.githubusercontent.com/Jipok/TelegramRetranslator/master/retranslator.py
- Register app on my.telegram.org
- Change the
API_HASH
andAPI_ID
in the script to values from my.telegram.org
python3 retranslator.py
or
chown +x ./retranslator.py
./retranslator.py
- Log in
- Open normal telegram client
- Find a chat with the retranslator bot. There should be a list of dialogs with their id.
- Select the channel/chat id where the messages will be forwarded.
- Select the id of chats and channels from where messages should be forwarded.
- Selecting same id again will remove chat/channel from forwarding.
The script saves two files:
default.id_list
which contains the id list. The first ID in the file is the targetdefault.session
which contains data for authentication. This file is processed by telethon.
You can give the script another profile name:
python3 retranslator.py another_name
# or
./retranslator.py another_name
pip install pysocks
- Uncomment 5th line
- Uncomment the 34th line and specify the proxy server