- Clone any telegram channel or group (public & private both 😉)
- You must have member of source channel or group
git clone https://github.com/Grey-Time/Telethon-Channel-Clone.git
cd Telethon-Channel-Clone
Edit config.py file before use
API_ID
and API_HASH
- Get those from my.telegram.org
PHONE_NUMBER
- Give phone number with country code (ex. +91987654321)
NAME
- Give any name what you want
SRC_CHAT_ID
and DEST_CHAT_ID
- Get those from @userinfobot
(forward any message from those channel or group to @userinfobot)
python -m venv myenv
python3 -m venv myenv
.\myenv\Scripts\activate
source myenv/bin/activate
Install module telethon
pip install telethon
pip3 install telethon
python bot.py
python3 bot.py