notify

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package notify provides fire-and-forget Telegram notifications for the active team.

It wraps the telegram package with two entry points: Send (loads config automatically) and SendWithConfig (accepts pre-resolved token and chat ID for daemon use). Both deliver messages to the team's configured notification bot and chat ID.

Plane: shared

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(message string) error

Send sends a notification to the team's Telegram chat using the notification bot. Loads config to resolve the active team's notification token and chat ID. Fire-and-forget: returns error but callers typically log and continue.

func SendWithConfig

func SendWithConfig(token, chatID, message string) error

SendWithConfig sends using pre-resolved token and chat ID (for daemon use). Silently returns nil if token or chatID are empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL