muminkoykiran / Telegram-Channel-Replicator

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram-Channel-Replicator

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.

Example Multiple Channel

TO_CHANNELS = -1001234567890, -1001234567890, -1001234567890

Windows Virtual Environment

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

Linux Virtual Environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run

python main.py

About

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.


Languages

Language:Python 100.0%