Skip to content

A fast python script that clones private/public telegram channels

License

Notifications You must be signed in to change notification settings

Er3n-Yeager/Telegram-channel-cloner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Message Forwarder

This script allows you to forward messages from one Telegram channel to another. It supports forwarding text messages, photos, videos, and documents using the Pyrogram library to interact with the Telegram API.

Features

  • Forwards text messages, photos, videos, and documents.
  • Supports both private and public channels.
  • Implements rate limiting to prevent flooding.

Requirements

  • Python 3.7 or higher
  • Pyrogram$
  • TgCrypto (for better performance)

Installation

  1. Clone the repository:
    git clone https://github.com/Er3n-Yeager/Telegram-channel-cloner.git
    cd telegram-message-forwarder
  2. Create virtual environment*
    python -m venv venv
    source venv/bin/activate   # On Windows use `venv\Scripts\activate`
  3. Install the required libraries
    pip install pyrogram tgcrypto tqdm
  4. Add Your Credentials
    api_id = 'YOUR_API_ID'          # Replace with your actual API ID
    api_hash = 'YOUR_API_HASH'      # Replace with your actual API Hash
    phone_number = 'YOUR_PHONE'     # Your phone number linked to the Telegram account-international format
    source_channel = 'SOURCE_CHANNEL'  # Replace with your source channel
    destination_channel = 'DEST_CHANNEL'  # Replace with your destination channel
  5. Run the script
    python eren_cloner.py