birthdaybot/notification/service_telegram.go

22 lines
525 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,
}
}
func (tns *TelegramNotificationService) Notify(birthday *model.Birthday) error {
return nil
}