Class TelegramAlertChannel

Assembly: redb.Tsak.Core.dll

Telegram delivery via the Bot API — a formatted HTTPS POST to
https://api.telegram.org/bot{token}/sendMessage. Intentionally uses a plain
rather than a Telegram connector, so it adds nothing to Core's graph.

public sealed class TelegramAlertChannel : IAlertChannel

Inheritance

Object→TelegramAlertChannel

Implements

Properties

IsEnabled

Whether this channel is turned on and fully configured.

public bool IsEnabled { get; }

Name

Short stable name, used in logs and the per-channel test result.

public string Name { get; }

Methods

SendAsync(AlertNotification, CancellationToken)

Delivers one alert. Implementations must throw on failure (the dispatcher isolates and

public Task SendAsync(AlertNotification alert, CancellationToken ct)

Constructors