Innovabit.DotNet.Interceptors.Notifications.Telegram
2.0.106
See the version list below for details.
dotnet add package Innovabit.DotNet.Interceptors.Notifications.Telegram --version 2.0.106
NuGet\Install-Package Innovabit.DotNet.Interceptors.Notifications.Telegram -Version 2.0.106
<PackageReference Include="Innovabit.DotNet.Interceptors.Notifications.Telegram" Version="2.0.106" />
<PackageVersion Include="Innovabit.DotNet.Interceptors.Notifications.Telegram" Version="2.0.106" />
<PackageReference Include="Innovabit.DotNet.Interceptors.Notifications.Telegram" />
paket add Innovabit.DotNet.Interceptors.Notifications.Telegram --version 2.0.106
#r "nuget: Innovabit.DotNet.Interceptors.Notifications.Telegram, 2.0.106"
#:package Innovabit.DotNet.Interceptors.Notifications.Telegram@2.0.106
#addin nuget:?package=Innovabit.DotNet.Interceptors.Notifications.Telegram&version=2.0.106
#tool nuget:?package=Innovabit.DotNet.Interceptors.Notifications.Telegram&version=2.0.106
Innovabit.DotNet.Interceptors.Notifications.Telegram
Telegram channel for
Innovabit.DotNet.Interceptors.Notifications.Abstractions:
delivers [NotifyOnException] notifications through the Bot API.
Usage
services.AddInterceptors()
.AddNotifications(n => n.AddTelegram(o =>
{
o.BotToken = "123456:ABC-DEF…"; // from BotFather
o.ChatId = "-1001234567890"; // a chat id, or a channel's @username
}));
The bot has to be a member of the chat, and an administrator if it is a channel.
Options
| Option | Meaning |
|---|---|
BotToken |
The bot token. Required. |
ChatId |
Numeric chat id or @username. Required. |
MinimumSeverity |
Messages below this are not sent. |
ParseMode |
None (default), MarkdownV2 or Html. |
ApiBaseUrl |
Defaults to https://api.telegram.org; change it for a self-hosted Bot API server. |
What to know
Plain text is the default, deliberately. A notification body is an exception message and a stack
trace, and MarkdownV2 rejects the entire message over a single unescaped _ or . — so the alert
you most need would be the one most likely to go missing. Turn a parse mode on only if you also
control the text.
Long messages are truncated, not dropped. Telegram refuses anything past 4096 characters outright; a stack trace passes that easily. The text is trimmed to fit and marked with an ellipsis, because a truncated alert beats a silent one.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Innovabit.DotNet.Interceptors.Notifications.Abstractions (>= 2.0.106)
- Microsoft.Extensions.Http (>= 10.0.12)
-
net8.0
- Innovabit.DotNet.Interceptors.Notifications.Abstractions (>= 2.0.106)
- Microsoft.Extensions.Http (>= 10.0.12)
-
net9.0
- Innovabit.DotNet.Interceptors.Notifications.Abstractions (>= 2.0.106)
- Microsoft.Extensions.Http (>= 10.0.12)
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 |
|---|---|---|
| 2.0.119 | 54 | 11/14/2026 |
| 2.0.118 | 110 | 11/7/2026 |
| 2.0.117 | 102 | 10/31/2026 |
| 2.0.116 | 94 | 10/26/2026 |
| 2.0.115 | 126 | 10/17/2026 |
| 2.0.114 | 96 | 10/10/2026 |
| 2.0.113 | 107 | 10/3/2026 |
| 2.0.112 | 101 | 9/28/2026 |
| 2.0.111 | 99 | 9/28/2026 |
| 2.0.110 | 104 | 9/27/2026 |
| 2.0.109 | 96 | 9/26/2026 |
| 2.0.108 | 98 | 9/26/2026 |
| 2.0.107 | 104 | 9/26/2026 |
| 2.0.106 | 111 | 9/25/2026 |
| 2.0.105 | 102 | 9/25/2026 |
| 1.0.0.104 | 95 | 9/25/2026 |