Пример #1
0
 public SendToMobileTrigger(ISmsQueueProvider queue, IOptions <Notify> notifyConfig, BotConfiguration botConfiguration)
     : base("^bot--invite--mobile (44)(7)\\d{9}$", botConfiguration)
 {
     this.queue        = queue;
     this.notifyConfig = notifyConfig.Value;
 }
Пример #2
0
 public SmsMessageQueue(ISmsQueueProvider smsQueueProvider, IOptions <Notify> notifyConfigOptions, IFeedbackBotStateRepository feedbackBotStateRepository)
 {
     this.notifyConfig               = notifyConfigOptions.Value;
     this.smsQueueProvider           = smsQueueProvider;
     this.feedbackBotStateRepository = feedbackBotStateRepository;
 }