예제 #1
0
    public VerifyCallback(
        TelegramService telegramService,
        UserProfilePhotoService userProfilePhotoService,
        StepHistoriesService stepHistoriesService
        )
    {
        _telegramService         = telegramService;
        _userProfilePhotoService = userProfilePhotoService;
        _stepHistoriesService    = stepHistoriesService;
        _callbackQuery           = telegramService.CallbackQuery;

        Log.Information("Receiving Verify Callback");
    }
예제 #2
0
 public JobsService(
     ILogger <JobsService> logger,
     IOptionsSnapshot <EventLogConfig> eventLogConfig,
     IOptions <RestrictionConfig> restrictionConfig,
     IBackgroundJobClient backgroundJobClient,
     IRecurringJobManager recurringJobManager,
     StepHistoriesService stepHistoriesService,
     ChatService chatService,
     ITelegramBotClient botClient,
     SettingsService settingsService
     )
 {
     _eventLogConfig       = eventLogConfig.Value;
     _restrictionConfig    = restrictionConfig.Value;
     _logger               = logger;
     _backgroundJobClient  = backgroundJobClient;
     _recurringJobManager  = recurringJobManager;
     _stepHistoriesService = stepHistoriesService;
     _chatService          = chatService;
     _botClient            = botClient;
     _settingsService      = settingsService;
 }