A C# Windows Forms application designed to efficiently download files from Telegram channels. It leverages the WTelegramClient library to interact with the Telegram API directly.
- Channel Scanning: Automatically fetches and lists all joined channels.
- Selective Download: Filter files by type (Images, Videos, Documents) and date range.
- Resumable Downloads: Tracks progress and supports stopping/resuming.
- User Friendly GUI: Built with Windows Forms for a native experience.
- .NET Framework 4.7.2+
- Telegram API ID and Hash (obtained from my.telegram.org)
Before running the application, you must provide your own Telegram API credentials.
- Go to https://my.telegram.org and log in.
- Click on API development tools.
- Create a new application (if you haven't) to get your App api_id and App api_hash.
- Open the file
LoginForm.csin the solution. - Find these lines at the top of the class and paste your values:
private static readonly int apiId = 123456; // REPLACE THIS private static readonly string apiHash = "abcdef123456..."; // REPLACE THIS
- Open the solution
Telegram_File_downloader.slnin Visual Studio. - Restore NuGet packages.
- Update
LoginForm.cswith your API keys (see above). - Build and Run.
- Log in using your Telegram phone number.