A Telegram bot that automatically mirrors messages from source chats/channels to target ones. Suitable for cross-posting content or logging activity between multiple groups.
The bot listens to messages in configured source chats/channels and forwards them to one or more target chats. This makes it easy to keep several groups or channels in sync without manual copying.
logging for activity logsTo demonstrate experience with Telegram Bot API, automation flows and building small but useful helpers for chats.
# 1. Clone the repository
git clone https://github.com/RemiL0712/telegram-mirror-bot.git
cd telegram-mirror-bot
# 2. Create and fill .env
TELEGRAM_BOT_TOKEN=...
SOURCE_CHAT_ID=...
TARGET_CHAT_ID=...
# 3. Install dependencies and run
pip install -r requirements.txt
python main.py