birthdaybot/notification/service_telegram.go

18 lines
429 B
Go

package notification
import (
"git.ctrlz.es/mgdelacroix/birthdaybot/model"
"github.com/charmbracelet/log"
)
type TelegramNotificationService struct {
logger *log.Logger
config *model.TelegramNotificationsConfig
}
func NewTelegramNotificationService(logger *log.Logger, config *model.TelegramNotificationsConfig) *TelegramNotificationService {
return &TelegramNotificationService{
logger: logger,
config: config,
}
}