birthdaybot/notification/service_telegram.go

19 lines
429 B
Go
Raw Normal View History

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,
}
}