This is a Telegram bot developed using the Pyrogram library that forwards(replicates) messages from one channel (X) to multiple other channels (A, B, C) based on specified conditions. The bot can handle both text and photo messages. You should edit .env
file to set your bot token and channel ids.
TO_CHANNELS = -1001234567890, -1001234567890, -1001234567890
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py