Telegram.Bot is the most popular .NET Client for Telegram Bot API.
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
Check 👉 Bots: An introduction for developers 👈 to understand what a Telegram bot is and what it can do.
We, the Telegram Bots team, mainly focus on developing multiple NuGet packages for creating chatbots.
➡️ If Bot API is too limited for your use cases you can try Telegram Client API implementation written 100% in C# https://github.com/wiz0u/WTelegramClient
Packages | Documentation | News Channel | Team | Group Chat |
---|---|---|---|---|
nuget.org package feed | Telegram bots book | Subscribe to 📣 @tgbots_dotnet channel to get our latest news |
The team contributing to this work | Join our chat 💬 to talk about bots and ask questions |
Please check ➡️ the Quickstart guide.
Project targets .NET Standard 2.0 and .NET 6 at minimum, with .NET 8 or more recent recommended.
This project is referred to as the core package and is always required for developing Telegram bots. There are extension packages that you can include in your bot projects for additional functionality:
This project is fully tested using Unit tests and Systems Integration tests before each release. In fact, our test cases are self-documenting and serve as examples for Bot API methods. Once you learn the basics of Telegram chatbots, you will be able to easily understand the code in examples and use it in your own bot projects.