Skip to content

Releases: alimahdibahrami/telegram-channel-forwarder

Initial Release - Telegram Channel Forwarder v1.0.0

31 Aug 19:41
Compare
Choose a tag to compare

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

  1. Clone the Repository:

    git clone https://github.com/yourusername/telegram-channel-forwarder.git
    cd telegram-channel-forwarder
  2. Install Dependencies:
    Make sure you have Python and pip installed, then run:

    pip install -r requirements.txt
  3. Configure the Script:

    • Edit the script to fill in your api_id, api_hash, phone_number, session_name, source_channel_id, and destination_channel_id.
  4. 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 and api_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.