Notifier implements a Notifier for telegram notifications.
type Notifier struct {
// contains filtered or unexported fields
}
func New(conf *config.TelegramConfig, t *template.Template, l log.Logger, httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error)
New returns a new Telegram notification handler.
func (n *Notifier) Notify(ctx context.Context, alert ...*types.Alert) (bool, error)