8 lines
216 B
Go
8 lines
216 B
Go
package notifier
|
|
|
|
// Notifier defines the interface for sending notifications.
|
|
type Notifier interface {
|
|
// Broadcast sends a message to a given list of chat IDs.
|
|
Broadcast(chatIDs []int64, message string) error
|
|
}
|