Downtel is a open-source Telegram downloader built in Python, using the dotenv and telethon libraries.
- Login on Telegram
- Choose downloading different filetypes
- Download from private channels and groups
- Support all video, photos and documents
- Download all channel/group/chat content
- Downloading more filetypes (like stickers, etc)
- Delete massing messages
git clone https://github.com/scrola/downtel.git
cd downtel
pip install -r requirements.txt
After that create an .env file containing you API ID and API HASH informations got on Telegram account website.
Your .env file may look like this:
API_ID = 11111111
API_HASH = "1kshwll2n39smjwdh27jlsha1ksw9a21"
python3 main.py
The script will require your phone number and the code sent on your Telegram. The phone number format must be like: +5500000000000, that is, your country code, the regional code and the rest of the number.