TelegramBotBase 8.0.0-preview.4
Prefix Reserveddotnet add package TelegramBotBase --version 8.0.0-preview.4
NuGet\Install-Package TelegramBotBase -Version 8.0.0-preview.4
<PackageReference Include="TelegramBotBase" Version="8.0.0-preview.4" />
<PackageVersion Include="TelegramBotBase" Version="8.0.0-preview.4" />
<PackageReference Include="TelegramBotBase" />
paket add TelegramBotBase --version 8.0.0-preview.4
#r "nuget: TelegramBotBase, 8.0.0-preview.4"
#:package TelegramBotBase@8.0.0-preview.4
#addin nuget:?package=TelegramBotBase&version=8.0.0-preview.4&prerelease
#tool nuget:?package=TelegramBotBase&version=8.0.0-preview.4&prerelease
Release Highlights
Flexible Bot Configuration
Replaced the staged BotBaseBuilder API with a fluent, options-based builder inspired by ASP.NET Core. Configure networking, localization, threading, serialization, and other settings in any order. Build() validates the full configuration and reports errors together in a BotBaseBuilderException.
Improved Session Management
Added optional idle-time and capacity limits, safe session eviction and disposal, and lazy restoration of persisted session state. Session handling is now thread-safe, and applications can observe session endings or keep specific forms from being evicted. Session limits are disabled by default, preserving the previous behavior.
Serializer and Reliability Improvements
Improved MSSQL and PostgreSQL state serialization, including transactional saves and fixes for null values and JSON conversion. The request dispatcher now uses the bot’s final configured client, and session updates and disposal are handled more safely.
Migration Notes
This release includes breaking API changes: the staged builder interfaces and QuickStart have been removed. Migrate to BotBaseBuilder.Create(apiKey) and IBotBaseBuilder; review the migration guide for updated methods and defaults. SessionManager.SessionList is now a ConcurrentDictionary, and the synchronous EndSession method is obsolete.
Changes: session management · options-based builder
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Telegram.Bot (>= 22.10.2.1)
-
net10.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Telegram.Bot (>= 22.10.2.1)
-
net7.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Telegram.Bot (>= 22.10.2.1)
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Telegram.Bot (>= 22.10.2.1)
-
net9.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Telegram.Bot (>= 22.10.2.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on TelegramBotBase:
| Package | Downloads |
|---|---|
|
TelegramBotBase.Extensions.Images
This is an extension for sending Bitmap/Images via TelegramBotBase. |
|
|
TelegramBotBase.Extensions.Serializer.Database.PostgreSql
Serializer for postgre sql |
|
|
TelegramBotBase.Extensions.Serializer.Database.MSSQL
base version to replace the Newtonsoft.Json serializer in the main package |
|
|
TelegramBotBase.Extensions.ActionManager
This is a action manager extension to use with the C# TelegramBotBase library. |
|
|
TelegramBotBase.Extensions.Images.IronSoftware
This is an extension for sending Bitmap/Images platform independent by using IronSoftware's drawing library via TelegramBotBase. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-preview.4 | 65 | 11/23/2026 |
| 8.0.0-preview.3 | 68 | 10/31/2026 |
| 8.0.0-preview.2 | 92 | 10/6/2026 |
| 8.0.0-preview.1 | 96 | 8/29/2026 |
| 7.2.0 | 1,542 | 8/4/2026 |
| 7.2.0-preview.3 | 92 | 7/26/2026 |
| 7.2.0-preview.2 | 105 | 4/13/2026 |
| 7.2.0-preview.1 | 94 | 4/8/2026 |
| 7.1.1 | 803 | 3/17/2026 |
| 7.1.0 | 790 | 1/8/2026 |
| 7.1.0-preview.1 | 271 | 11/16/2025 |
| 7.0.0 | 2,855 | 6/28/2025 |
| 7.0.0-preview.14 | 296 | 6/16/2025 |
| 7.0.0-preview.13 | 186 | 6/7/2025 |
| 7.0.0-preview.12 | 173 | 5/17/2025 |
| 7.0.0-preview.11 | 248 | 4/20/2025 |
| 7.0.0-preview.10 | 578 | 3/26/2025 |
| 7.0.0-preview.9 | 539 | 3/25/2025 |
| 7.0.0-preview.8 | 558 | 3/25/2025 |
| 6.6.3 | 526 | 6/7/2025 |
- Dependency update. Removing .Net Framework target and replacing with .Net Standard 2.0