Telegram.Bot
22.2.0
dotnet add package Telegram.Bot --version 22.2.0
NuGet\Install-Package Telegram.Bot -Version 22.2.0
<PackageReference Include="Telegram.Bot" Version="22.2.0" />
paket add Telegram.Bot --version 22.2.0
#r "nuget: Telegram.Bot, 22.2.0"
// Install Telegram.Bot as a Cake Addin #addin nuget:?package=Telegram.Bot&version=22.2.0 // Install Telegram.Bot as a Cake Tool #tool nuget:?package=Telegram.Bot&version=22.2.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 (270)
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 (20)
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.2.0 | 16,308 | 12/4/2024 |
22.1.3 | 16,589 | 11/22/2024 |
22.1.2 | 2,390 | 11/21/2024 |
22.1.1 | 1,655 | 11/20/2024 |
22.1.0 | 4,802 | 11/18/2024 |
22.0.2 | 18,323 | 11/5/2024 |
22.0.1 | 1,038 | 11/5/2024 |
22.0.0 | 3,978 | 11/3/2024 |
19.0.0 | 1,161,475 | 5/7/2023 |
19.0.0-preview.4 | 1,611 | 4/30/2023 |
19.0.0-preview.2 | 22,078 | 1/2/2023 |
19.0.0-preview.1 | 4,883 | 12/3/2022 |
18.0.0 | 825,358 | 6/16/2022 |
18.0.0-alpha.3 | 6,954 | 4/29/2022 |
18.0.0-alpha.2 | 644 | 4/25/2022 |
18.0.0-alpha.1 | 4,562 | 2/13/2022 |
17.0.0 | 515,429 | 11/17/2021 |
17.0.0-alpha.5 | 1,890 | 11/12/2021 |
17.0.0-alpha.4 | 1,531 | 11/6/2021 |
17.0.0-alpha.3 | 13,492 | 8/1/2021 |
17.0.0-alpha.2 | 282 | 8/1/2021 |
17.0.0-alpha.1 | 2,873 | 7/11/2021 |
16.0.2 | 317,390 | 7/16/2021 |
16.0.1 | 12,450 | 7/10/2021 |
16.0.0 | 95,959 | 6/13/2021 |
16.0.0-alpha.2 | 1,617 | 5/10/2021 |
16.0.0-alpha.1 | 806 | 5/1/2021 |
15.7.1 | 498,037 | 6/18/2020 |
15.7.0 | 16,840 | 6/12/2020 |
15.6.0 | 33,169 | 5/30/2020 |
15.5.1 | 68,663 | 4/2/2020 |
15.5.0 | 2,914 | 4/2/2020 |
15.4.0 | 50,893 | 2/22/2020 |
15.3.0 | 30,423 | 1/31/2020 |
15.2.1 | 12,810 | 1/23/2020 |
15.2.0 | 19,689 | 1/3/2020 |
15.1.0 | 40,648 | 11/29/2019 |
15.0.0 | 85,040 | 8/7/2019 |
14.12.0 | 87,919 | 6/10/2019 |
14.11.0 | 84,628 | 4/23/2019 |
14.10.0 | 351,477 | 9/3/2018 |
14.9.0 | 239,698 | 8/6/2018 |
14.8.0 | 11,958 | 7/29/2018 |
14.7.0 | 3,000 | 7/29/2018 |
14.6.0 | 114,413 | 6/12/2018 |
14.5.0 | 14,205 | 6/7/2018 |
14.4.0 | 18,900 | 5/17/2018 |
14.3.0 | 15,272 | 5/5/2018 |
14.2.0-rc-452 | 26,913 | 2/24/2018 |
14.0.0-rc-367 | 10,585 | 1/4/2018 |
14.0.0-beta-342 | 3,392 | 1/4/2018 |
14.0.0-alpha0 | 2,781 | 12/31/2017 |
13.4.0 | 238,404 | 12/7/2017 |
13.4.0-rc2 | 2,979 | 11/27/2017 |
13.4.0-rc1 | 2,549 | 11/26/2017 |
13.3.0-rc1 | 2,995 | 10/28/2017 |
13.2.1 | 48,235 | 9/4/2017 |
13.1.0 | 45,272 | 7/23/2017 |