Telegrator.Hosting.WideBot
18.7.2
dotnet add package Telegrator.Hosting.WideBot --version 18.7.2
NuGet\Install-Package Telegrator.Hosting.WideBot -Version 18.7.2
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="Telegrator.Hosting.WideBot" Version="18.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Telegrator.Hosting.WideBot" Version="18.7.2" />
<PackageReference Include="Telegrator.Hosting.WideBot" />
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 Telegrator.Hosting.WideBot --version 18.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Telegrator.Hosting.WideBot, 18.7.2"
#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 Telegrator.Hosting.WideBot@18.7.2
#: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=Telegrator.Hosting.WideBot&version=18.7.2
#tool nuget:?package=Telegrator.Hosting.WideBot&version=18.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Telegrator.Hosting.WideBot
Extension for the Telegrator framework that integrates with WTelegramBot, enabling advanced bot capabilities such as MTProto proxy support, SQL command detection, and extended Telegram API access.
✨ Features
- Integration with
WTelegramBotlibrary (v9.6.0+) TelegratorWClient— extendsWTelegramBotClientwith Telegrator's mediator and handler system- MTProto proxy support via
MTProxyoption - SQL command detection configuration (
SqlCommands) - Full compatibility with Telegrator handlers, filters, state, and awaiting mechanisms
- Seamless integration with
Telegrator.Hosting
Requirements
- .NET 10.0 or later
- Telegrator.Hosting
- WTelegramBot (9.6.0+)
Installation
dotnet add package Telegrator.Hosting.WideBot
Quick Start
Program.cs
using Telegrator.Hosting;
using Telegrator.Hosting.WideBot;
var builder = Host.CreateApplicationBuilder(args);
builder.AddTelegrator()
.WithWideBot()
.Handlers.CollectHandlers();
var host = builder.Build();
host.Run();
Configuration (appsettings.json)
{
"TelegratorOptions": {
"Token": "YOUR_BOT_TOKEN"
},
"WideBotOptions": {
"ApiId": 123456,
"ApiHash": "your_api_hash",
"MTProxy": "https://t.me/proxy?server=...",
"DropPendingUpdates": true
}
}
WideBotOptions
| Property | Type | Description |
|---|---|---|
ApiId |
int |
Telegram API ID (required) |
ApiHash |
string |
Telegram API Hash (required) |
MTProxy |
string? |
Optional MTProto proxy URL |
DropPendingUpdates |
bool |
Whether to discard pending updates on startup |
Handler Access to WTelegram Features
Handlers running inside a WideBot host can access WTelegram-specific functionality through extension methods on AbstractUpdateHandler<TUpdate>.
Related Packages
| Package | Purpose |
|---|---|
Telegrator |
Core framework |
Telegrator.Hosting |
.NET Generic Host integration |
WTelegramBot |
Underlying WTelegramBot client library |
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Telegrator.Hosting (>= 18.7.2)
- WTelegramBot (>= 9.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 18.7.2 | 85 | 6/17/2026 |
| 18.7.1 | 91 | 6/17/2026 |
| 18.7.0 | 98 | 6/15/2026 |
| 1.18.6.2 | 90 | 6/12/2026 |
| 1.18.6.1 | 91 | 6/12/2026 |
| 1.18.6 | 82 | 6/12/2026 |
| 1.18.5.2 | 93 | 6/7/2026 |
| 1.18.5.1 | 101 | 6/3/2026 |
| 1.18.5 | 100 | 6/2/2026 |
| 1.18.4.3 | 92 | 6/2/2026 |
| 1.18.4.2 | 95 | 6/2/2026 |
| 1.18.4.1 | 91 | 6/2/2026 |
| 1.18.4 | 96 | 6/1/2026 |
| 1.18.3 | 107 | 5/28/2026 |
| 1.18.2 | 97 | 5/26/2026 |
| 1.18.1 | 94 | 5/25/2026 |
| 1.18.0 | 95 | 5/24/2026 |
| 1.17.3 | 103 | 5/22/2026 |
| 1.17.1 | 104 | 5/1/2026 |
| 1.17.0 | 104 | 4/27/2026 |