Telegram.Bot
22.0.2
dotnet add package Telegram.Bot --version 22.0.2
NuGet\Install-Package Telegram.Bot -Version 22.0.2
<PackageReference Include="Telegram.Bot" Version="22.0.2" />
paket add Telegram.Bot --version 22.0.2
#r "nuget: Telegram.Bot, 22.0.2"
// Install Telegram.Bot as a Cake Addin #addin nuget:?package=Telegram.Bot&version=22.0.2 // Install Telegram.Bot as a Cake Tool #tool nuget:?package=Telegram.Bot&version=22.0.2
.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 |
---|---|---|---|---|
Our nuget 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 (261)
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.0.2 | 6,140 | 11/5/2024 |
22.0.1 | 208 | 11/5/2024 |
22.0.0 | 1,952 | 11/3/2024 |
19.0.0 | 1,067,591 | 5/7/2023 |
19.0.0-preview.4 | 1,599 | 4/30/2023 |
19.0.0-preview.2 | 21,824 | 1/2/2023 |
19.0.0-preview.1 | 4,815 | 12/3/2022 |
18.0.0 | 798,042 | 6/16/2022 |
18.0.0-alpha.3 | 6,820 | 4/29/2022 |
18.0.0-alpha.2 | 612 | 4/25/2022 |
18.0.0-alpha.1 | 4,440 | 2/13/2022 |
17.0.0 | 504,845 | 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,435 | 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 | 308,623 | 7/16/2021 |
16.0.1 | 12,322 | 7/10/2021 |
16.0.0 | 93,644 | 6/13/2021 |
16.0.0-alpha.2 | 1,599 | 5/10/2021 |
16.0.0-alpha.1 | 800 | 5/1/2021 |
15.7.1 | 492,791 | 6/18/2020 |
15.7.0 | 16,623 | 6/12/2020 |
15.6.0 | 32,110 | 5/30/2020 |
15.5.1 | 67,616 | 4/2/2020 |
15.5.0 | 2,893 | 4/2/2020 |
15.4.0 | 50,795 | 2/22/2020 |
15.3.0 | 30,356 | 1/31/2020 |
15.2.1 | 12,771 | 1/23/2020 |
15.2.0 | 19,624 | 1/3/2020 |
15.1.0 | 40,019 | 11/29/2019 |
15.0.0 | 84,816 | 8/7/2019 |
14.12.0 | 87,523 | 6/10/2019 |
14.11.0 | 84,241 | 4/23/2019 |
14.10.0 | 350,544 | 9/3/2018 |
14.9.0 | 239,611 | 8/6/2018 |
14.8.0 | 11,934 | 7/29/2018 |
14.7.0 | 2,982 | 7/29/2018 |
14.6.0 | 111,850 | 6/12/2018 |
14.5.0 | 14,176 | 6/7/2018 |
14.4.0 | 18,829 | 5/17/2018 |
14.3.0 | 15,226 | 5/5/2018 |
14.2.0-rc-452 | 26,888 | 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,918 | 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,004 | 9/4/2017 |
13.1.0 | 45,201 | 7/23/2017 |