Unicorb.Max.Configuration
0.9.18-alpha
dotnet add package Unicorb.Max.Configuration --version 0.9.18-alpha
NuGet\Install-Package Unicorb.Max.Configuration -Version 0.9.18-alpha
<PackageReference Include="Unicorb.Max.Configuration" Version="0.9.18-alpha" />
<PackageVersion Include="Unicorb.Max.Configuration" Version="0.9.18-alpha" />
<PackageReference Include="Unicorb.Max.Configuration" />
paket add Unicorb.Max.Configuration --version 0.9.18-alpha
#r "nuget: Unicorb.Max.Configuration, 0.9.18-alpha"
#:package Unicorb.Max.Configuration@0.9.18-alpha
#addin nuget:?package=Unicorb.Max.Configuration&version=0.9.18-alpha&prerelease
#tool nuget:?package=Unicorb.Max.Configuration&version=0.9.18-alpha&prerelease
Unicorb.Max.Configuration
Max Bot API infrastructure for .NET apps: MaxClient, webhook and polling.
The package does not depend on Unicorb. It only configures Max services.
TFM: net9.0, net10.0
The API may change before version 1.0.0. Depends on the pre-release
MaxMessenger.Botpackage, so installation may require--prerelease.
Install
dotnet add package Unicorb.Max.Configuration --prerelease
Quick Start
using Max.Bot.Types.Enums;
using Unicorb.Max.Configuration.Enums;
using Unicorb.Max.Configuration.Models;
var maxOptions = new MaxBotConfig
{
Token = builder.Configuration["Max:Token"]!,
UpdateMode = MaxUpdateMode.Webhook,
WebhookBaseUrl = "https://example.com",
WebhookRoute = "max/webhook",
AllowedUpdates = [UpdateType.MessageCreated, UpdateType.MessageCallback],
};
builder.Services.AddMaxConfiguration(maxOptions);
Update Modes
Webhook: registers a webhook subscription on startup; Max sends POST requests to{WebhookBaseUrl}/{WebhookRoute}.Polling: reads updates with long polling and forwards them by POST to{LocalBaseUrl}/{WebhookRoute}.
For polling, set LocalBaseUrl, for example http://localhost:5000.
Clear Subscriptions
maxOptions.ClearSubscriptionsBeforeConfigure = true;
Use this in webhook mode when old subscriptions must be removed before configuration.
Next Steps
Unicorb.Max.Bridgeconnects Max to the Unicorb pipeline.Unicorb.Max.Configuration.AspNetCoreaddsapp.UseMaxWebhook().IMaxBotUserServicestores theGetMeresult.MaxBotExtensionsprovides helpers forUpdateandMessage.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- MaxMessenger.Bot (>= 0.6.2-alpha)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.10)
- Microsoft.Extensions.Http (>= 9.0.10)
- Microsoft.Extensions.Options (>= 9.0.10)
-
net9.0
- MaxMessenger.Bot (>= 0.6.2-alpha)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.10)
- Microsoft.Extensions.Http (>= 9.0.10)
- Microsoft.Extensions.Options (>= 9.0.10)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Unicorb.Max.Configuration:
| Package | Downloads |
|---|---|
|
Unicorb.Max.Configuration.AspNetCore
ASP.NET Core webhook endpoint for Unicorb Max bots: default POST route to IUpdateService |
|
|
Unicorb.Max.Bridge
Max transport bridge for Unicorb: update pipeline, state machine, extractors, and Bot API adapter |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.18-alpha | 44 | 8/3/2026 |
| 0.9.17-alpha | 45 | 7/30/2026 |
| 0.9.16-alpha | 48 | 7/30/2026 |
| 0.9.15-alpha | 53 | 7/30/2026 |
| 0.9.14-alpha | 48 | 7/29/2026 |
| 0.9.13-alpha | 59 | 7/21/2026 |
| 0.9.12-alpha | 70 | 7/20/2026 |
| 0.9.11-alpha | 57 | 7/15/2026 |
| 0.9.10-alpha | 64 | 7/13/2026 |
| 0.9.9-alpha | 61 | 7/13/2026 |
| 0.9.8-alpha | 60 | 7/12/2026 |
| 0.9.7-alpha | 65 | 7/10/2026 |
| 0.9.6-alpha | 74 | 7/10/2026 |
| 0.9.5-alpha | 62 | 7/9/2026 |
| 0.9.4-alpha | 64 | 7/9/2026 |
| 0.9.3-alpha | 80 | 6/24/2026 |
| 0.9.2-alpha | 75 | 6/23/2026 |
| 0.9.1-alpha | 74 | 6/14/2026 |
| 0.9.0-alpha | 69 | 6/14/2026 |