TelegramBotBase 8.0.0-preview.4

Prefix Reserved
This is a prerelease version of TelegramBotBase.
dotnet add package TelegramBotBase --version 8.0.0-preview.4
                    
NuGet\Install-Package TelegramBotBase -Version 8.0.0-preview.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TelegramBotBase" Version="8.0.0-preview.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TelegramBotBase" Version="8.0.0-preview.4" />
                    
Directory.Packages.props
<PackageReference Include="TelegramBotBase" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TelegramBotBase --version 8.0.0-preview.4
                    
#r "nuget: TelegramBotBase, 8.0.0-preview.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TelegramBotBase@8.0.0-preview.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TelegramBotBase&version=8.0.0-preview.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TelegramBotBase&version=8.0.0-preview.4&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

- Dependency update. Removing .Net Framework target and replacing with .Net Standard 2.0