public NotificationTelegramSender(
     ILogger <NotificationTelegramSender> logger,
     INotificationChannelsRepository notificationChannelsRepository,
     ITelegramBotClient telegramBotClient,
     SettingsModel settingsModel
     )
     : base(logger)
 {
     _logger = logger;
     _notificationChannelsRepository = notificationChannelsRepository;
     _telegramBotClient = telegramBotClient;
     _settingsModel     = settingsModel;
 }
Пример #2
0
 public NotificationChannelsService(
     INotificationChannelsRepository notificationChannelsRepository
     )
 {
     _notificationChannelsRepository = notificationChannelsRepository;
 }