{"repo":"erfanghorbanee/Telegram-File-Downloader","free":true,"listed":false,"github":"https://github.com/erfanghorbanee/Telegram-File-Downloader","clone":"git clone https://github.com/erfanghorbanee/Telegram-File-Downloader.git","description":"A Python script to download files from Telegram entities (channels, groups, chats, or saved messages). It supports filtering by file type (e.g., images, PDFs).","language":"Python","stars":46,"topics":["telegram","telegram-api","telegram-files-downloader","telethon","automation","python","python-script","data-hoarder","data-hoarding","scraper"],"license":"GPL-3.0","category":"scrapers-browser-automation","readme_excerpt":"Telegram-File-Downloader A Python script to download files from Telegram entities (channels, groups, chats, or saved messages). It supports filtering by file type (e.g., images, PDFs). Table of Contents - Telegram-File-Downloader - Table of Contents - Features - Prerequisites - Steps to Get Telegram API Credentials - Setting Up the .env File - Usage - List All Accessible Dialogs - Download Files - Security Notes - FAQ - What is a Telegram Entity? - How do I find the ID of a private channel or group? - Can I use a bot token instead of my phone number? - What file formats are supported? - Contributing Features - Download files from channels, groups, private chats, or your saved messages. - Filter downloads by file type (e.g., images, PDFs, videos). - Save files to a specific directory. - List all channels, groups, and chats you have access to. - Easy setup with environment variables for secure credential management. Prerequisites 1. Python 3.12 or higher installed on your system. 2. telethon library installed. You can install all the required libraries using: 3. A Telegram account or bot token. Steps to Get Telegram API Credentials To use this script, you need an API ID and API Hash from Telegram. Follow these steps: 1. Open your browser and go to Telegram's My Apps page. 2. Log in with your Telegram account credentials. 3. Click on Create New Application . 4. Fill in the required details. 5. After creating the application, you will see your API ID and API Hash . Copy these val","default_branch":null,"files":null,"tree":[],"storefront":"/r/erfanghorbanee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/erfanghorbanee/Telegram-File-Downloader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}