19 lines
429 B
Go
19 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,
|
||
|
}
|
||
|
}
|