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 | 17,770 | 12/4/2024 |
22.1.3 | 16,810 | 11/22/2024 |
22.1.2 | 2,476 | 11/21/2024 |
22.1.1 | 1,684 | 11/20/2024 |
22.1.0 | 4,884 | 11/18/2024 |
22.0.2 | 18,477 | 11/5/2024 |
22.0.1 | 1,060 | 11/5/2024 |
22.0.0 | 4,026 | 11/3/2024 |
19.0.0 | 1,163,460 | 5/7/2023 |
19.0.0-preview.4 | 1,613 | 4/30/2023 |
19.0.0-preview.2 | 22,086 | 1/2/2023 |
19.0.0-preview.1 | 4,889 | 12/3/2022 |
18.0.0 | 826,106 | 6/16/2022 |
18.0.0-alpha.3 | 6,963 | 4/29/2022 |
18.0.0-alpha.2 | 655 | 4/25/2022 |
18.0.0-alpha.1 | 4,576 | 2/13/2022 |
17.0.0 | 515,616 | 11/17/2021 |
17.0.0-alpha.5 | 1,892 | 11/12/2021 |
17.0.0-alpha.4 | 1,533 | 11/6/2021 |
17.0.0-alpha.3 | 13,494 | 8/1/2021 |
17.0.0-alpha.2 | 284 | 8/1/2021 |
17.0.0-alpha.1 | 2,875 | 7/11/2021 |
16.0.2 | 317,642 | 7/16/2021 |
16.0.1 | 12,456 | 7/10/2021 |
16.0.0 | 96,018 | 6/13/2021 |
16.0.0-alpha.2 | 1,619 | 5/10/2021 |
16.0.0-alpha.1 | 808 | 5/1/2021 |
15.7.1 | 498,164 | 6/18/2020 |
15.7.0 | 16,856 | 6/12/2020 |
15.6.0 | 33,191 | 5/30/2020 |
15.5.1 | 68,673 | 4/2/2020 |
15.5.0 | 2,916 | 4/2/2020 |
15.4.0 | 50,896 | 2/22/2020 |
15.3.0 | 30,434 | 1/31/2020 |
15.2.1 | 12,814 | 1/23/2020 |
15.2.0 | 19,692 | 1/3/2020 |
15.1.0 | 40,661 | 11/29/2019 |
15.0.0 | 85,043 | 8/7/2019 |
14.12.0 | 87,934 | 6/10/2019 |
14.11.0 | 84,653 | 4/23/2019 |
14.10.0 | 351,500 | 9/3/2018 |
14.9.0 | 239,703 | 8/6/2018 |
14.8.0 | 11,960 | 7/29/2018 |
14.7.0 | 3,002 | 7/29/2018 |
14.6.0 | 114,462 | 6/12/2018 |
14.5.0 | 14,209 | 6/7/2018 |
14.4.0 | 18,904 | 5/17/2018 |
14.3.0 | 15,276 | 5/5/2018 |
14.2.0-rc-452 | 26,915 | 2/24/2018 |
14.0.0-rc-367 | 10,587 | 1/4/2018 |
14.0.0-beta-342 | 3,394 | 1/4/2018 |
14.0.0-alpha0 | 2,783 | 12/31/2017 |
13.4.0 | 238,429 | 12/7/2017 |
13.4.0-rc2 | 2,981 | 11/27/2017 |
13.4.0-rc1 | 2,551 | 11/26/2017 |
13.3.0-rc1 | 2,997 | 10/28/2017 |
13.2.1 | 48,242 | 9/4/2017 |
13.1.0 | 45,277 | 7/23/2017 |