Releases: alimahdibahrami/telegram-channel-forwarder
Releases · alimahdibahrami/telegram-channel-forwarder
Initial Release - Telegram Channel Forwarder v1.0.0
Overview
This is the initial release of Telegram Channel Forwarder v1.0.0. This tool allows you to forward messages from one Telegram channel to another, including text, photos, and documents, while avoiding duplicate messages.
Features
- Forward text messages, photos, and documents from a source channel to a destination channel.
- Tracks the last sent message to avoid duplicate forwarding.
- The session is saved locally, so you don’t need to re-enter the login code every time you run the script. This prevents getting temporarily blocked by Telegram for too many login requests.
- If the program stops for any reason (e.g., internet issues), it can resume from the last sent message after restarting.
- Adds random delays between forwarding to prevent being flagged by Telegram.
Setup Instructions
-
Clone the Repository:
git clone https://github.com/yourusername/telegram-channel-forwarder.git cd telegram-channel-forwarder
-
Install Dependencies:
Make sure you have Python andpip
installed, then run:pip install -r requirements.txt
-
Configure the Script:
- Edit the script to fill in your
api_id
,api_hash
,phone_number
,session_name
,source_channel_id
, anddestination_channel_id
.
- Edit the script to fill in your
-
Run the Script:
python script.py
Getting Your API Credentials
- Visit my.telegram.org and log in with your Telegram account.
- Go to the "API development tools" section to create a new application and obtain your
api_id
andapi_hash
.
Notes
- This script requires Python 3.7 or higher.
- Ensure that the Telegram account used has access to both the source and destination channels.
License
This project is licensed under the MIT License - see the LICENSE file for details.