2023-07-01 17:00:48 +01:00
|
|
|
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,
|
|
|
|
}
|
|
|
|
}
|
2023-07-01 17:03:15 +01:00
|
|
|
|
|
|
|
func (tns *TelegramNotificationService) Notify(birthday *model.Birthday) error {
|
|
|
|
return nil
|
|
|
|
}
|