A python app which forwards Telegram messages from channels, groups or chats to other channels, groups or chats automatically.
To use this app you will need to copy or rename config.yaml.sample
to config.yaml
and populate the following variables:
API_ID
- You can create one on https://my.telegram.orgAPI_HASH
- You can create one on https://my.telegram.orgTELEGRAM_SESSION
- Can be generated using thegenerate_session.py
scriptFROM_CHATS
- The chat ids from which messages will be forwardedTO_CHATS
- The chat ids that will receive the forwarded messages
Install the required Python Modules in your machine.
pip3 install -r requirements.txt
With python3.9 or later.
python3 main.py