public TelegramCommandProcessor(
     ITelegramApiService telegramApiService,
     IAuthService authService,
     ITokenService tokenService)
 {
     _telegramApiService = telegramApiService;
     _authService        = authService;
     _tokenService       = tokenService;
 }
示例#2
0
 public TranslationBot(
     ITranslationService translationService,
     ITelegramApiService telegramApi,
     IOptions <TelegramOptions> telegramOptions)
 {
     _translationService = translationService;
     _telegramApi        = telegramApi;
     _telegramOptions    = telegramOptions;
 }
示例#3
0
 public TriggerCheckerService(
     ITriggerRepository triggerRepository,
     ICurrencyRepository currencyRepository,
     ITelegramApiService telegramApiService)
 {
     _triggerRepository  = triggerRepository;
     _currencyRepository = currencyRepository;
     _telegramApiService = telegramApiService;
 }