Telegram.Bot
22.1.0
dotnet add package Telegram.Bot --version 22.1.0
NuGet\Install-Package Telegram.Bot -Version 22.1.0
<PackageReference Include="Telegram.Bot" Version="22.1.0" />
paket add Telegram.Bot --version 22.1.0
#r "nuget: Telegram.Bot, 22.1.0"
// Install Telegram.Bot as a Cake Addin #addin nuget:?package=Telegram.Bot&version=22.1.0 // Install Telegram.Bot as a Cake Tool #tool nuget:?package=Telegram.Bot&version=22.1.0
.NET Client for Telegram Bot API
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 |
🔨 Getting Started
Please check ➡️ the Quickstart guide.
🚧 Supported Platforms
Project targets .NET Standard 2.0 and .NET 6 at minimum, with .NET 8 or more recent recommended.
📦 Extension Packages
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:
✅ Correctness & Testing
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.
🗂 References
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- IndexRange (>= 1.0.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- System.Text.Json (>= 8.0.5)
NuGet packages (263)
Showing the top 5 NuGet packages that depend on Telegram.Bot:
Package | Downloads |
---|---|
TWCore.Bot.Telegram
TWCore Framework. A multipurpose framework library for .net core |
|
Twin.Company.Contracts
Package Description |
|
Sitko.Core.Health.Telegram
Sitko.Core is a set of libraries to help build .NET Core applications fast |
|
OdinSdk.BaseLib
This is the default library used by all nuget packages provided by odinsoft. |
|
AleXr64.BotFramework
Framework to simplify writing telegram bots |
GitHub repositories (21)
Showing the top 5 popular GitHub repositories that depend on Telegram.Bot:
Repository | Stars |
---|---|
ONLYOFFICE/CommunityServer
Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
|
|
MCCTeam/Minecraft-Console-Client
Lightweight console for Minecraft chat and automated scripts
|
|
notifo-io/notifo
Multi channel notification service for collaboration tools, e-commerce, news service and more.
|
|
TelegramBots/Telegram.Bot.Examples
Examples for the Telegram.Bot C# Library
|
|
brianzhouzc/RocketBot
An automated Pokémon Go Bot
|
Version | Downloads | Last updated |
---|---|---|
22.1.0 | 684 | 11/18/2024 |
22.0.2 | 10,122 | 11/5/2024 |
22.0.1 | 287 | 11/5/2024 |
22.0.0 | 2,340 | 11/3/2024 |
19.0.0 | 1,078,679 | 5/7/2023 |
19.0.0-preview.4 | 1,599 | 4/30/2023 |
19.0.0-preview.2 | 21,838 | 1/2/2023 |
19.0.0-preview.1 | 4,820 | 12/3/2022 |
18.0.0 | 801,262 | 6/16/2022 |
18.0.0-alpha.3 | 6,826 | 4/29/2022 |
18.0.0-alpha.2 | 617 | 4/25/2022 |
18.0.0-alpha.1 | 4,452 | 2/13/2022 |
17.0.0 | 505,747 | 11/17/2021 |
17.0.0-alpha.5 | 1,886 | 11/12/2021 |
17.0.0-alpha.4 | 1,527 | 11/6/2021 |
17.0.0-alpha.3 | 13,437 | 8/1/2021 |
17.0.0-alpha.2 | 279 | 8/1/2021 |
17.0.0-alpha.1 | 2,857 | 7/11/2021 |
16.0.2 | 309,481 | 7/16/2021 |
16.0.1 | 12,326 | 7/10/2021 |
16.0.0 | 93,871 | 6/13/2021 |
16.0.0-alpha.2 | 1,601 | 5/10/2021 |
16.0.0-alpha.1 | 800 | 5/1/2021 |
15.7.1 | 493,275 | 6/18/2020 |
15.7.0 | 16,657 | 6/12/2020 |
15.6.0 | 32,226 | 5/30/2020 |
15.5.1 | 67,763 | 4/2/2020 |
15.5.0 | 2,895 | 4/2/2020 |
15.4.0 | 50,800 | 2/22/2020 |
15.3.0 | 30,359 | 1/31/2020 |
15.2.1 | 12,774 | 1/23/2020 |
15.2.0 | 19,629 | 1/3/2020 |
15.1.0 | 40,054 | 11/29/2019 |
15.0.0 | 84,839 | 8/7/2019 |
14.12.0 | 87,541 | 6/10/2019 |
14.11.0 | 84,278 | 4/23/2019 |
14.10.0 | 350,653 | 9/3/2018 |
14.9.0 | 239,619 | 8/6/2018 |
14.8.0 | 11,934 | 7/29/2018 |
14.7.0 | 2,982 | 7/29/2018 |
14.6.0 | 112,088 | 6/12/2018 |
14.5.0 | 14,177 | 6/7/2018 |
14.4.0 | 18,831 | 5/17/2018 |
14.3.0 | 15,229 | 5/5/2018 |
14.2.0-rc-452 | 26,890 | 2/24/2018 |
14.0.0-rc-367 | 10,552 | 1/4/2018 |
14.0.0-beta-342 | 3,382 | 1/4/2018 |
14.0.0-alpha0 | 2,771 | 12/31/2017 |
13.4.0 | 237,955 | 12/7/2017 |
13.4.0-rc2 | 2,966 | 11/27/2017 |
13.4.0-rc1 | 2,537 | 11/26/2017 |
13.3.0-rc1 | 2,985 | 10/28/2017 |
13.2.1 | 48,009 | 9/4/2017 |
13.1.0 | 45,205 | 7/23/2017 |