A C#/.NET library for interacting with Telegram's MTProto API, enabling programmatic user account control and full client functionality.
WTelegramClient is a C#/.NET library that provides full access to Telegram's MTProto API, allowing developers to programmatically control user accounts and perform any action available in a standard Telegram client. It enables automation of Telegram interactions, real-time monitoring of updates, and integration of Telegram functionality into .NET applications.
C#/.NET developers building Telegram automation tools, userbots, monitoring systems, or custom Telegram clients that require full API access and programmatic account control.
Developers choose WTelegramClient for its complete MTProto API coverage in a pure C# implementation, flexible authentication flows, session persistence, and cross-platform support, making it the most comprehensive .NET solution for Telegram integration.
Telegram Client API (MTProto) library written 100% in C# and .NET
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides access to all Telegram Client API methods (MTProto), enabling any action available in a standard Telegram client, from messaging to secret chats.
Handles interactive and non-interactive login flows, including 2FA, email verification, and session persistence via configurable callbacks and environment variables.
Offers OnUpdates events and UpdateManager class for handling incoming messages and notifications, supporting reactive monitoring and automation.
Works with .NET 5.0+, .NET Standard 2.0, Xamarin, and Mono.Android, ensuring compatibility across desktop, web, and mobile applications.
Requires understanding of advanced C# techniques like asynchronous programming and subclass pattern matching, as highlighted in the README, making it inaccessible for beginners.
Setting up non-interactive authentication involves handling multiple configuration items (e.g., api_id, phone_number) and scenarios, which can be error-prone and time-consuming.
Provides low-level API access that must be used responsibly; misuse or high-frequency calls can trigger Telegram's anti-abuse measures, leading to potential bans as warned in the documentation.