public TelegramCommandHandlerService(IChatConfigurationService chatConfigurationService, ITelegramBotClientWrapper telegramBotClient, IEnumerable <ITelegramBotCommand> botCommands) { _chatConfigurationService = chatConfigurationService; _client = telegramBotClient; _botCommands = botCommands; }
public TelegramBotHostedService(ILogger <TelegramBotHostedService> logger, ITelegramBotClient telegramBotClient, IEnumerable <IGrammarService> grammarServices, IChatConfigurationService chatConfigurationService, IWebHostEnvironment webHostEnvironment) { _logger = logger; _grammarServices = grammarServices; _chatConfigurationService = chatConfigurationService; _webHostEnvironment = webHostEnvironment; _client = telegramBotClient; }
public SettingsCommand(IChatConfigurationService chatConfigurationService, ITelegramBotClientWrapper telegramBotClient) : base(telegramBotClient) { _chatConfigurationService = chatConfigurationService; }
public AddWhiteListCommand(IChatConfigurationService chatConfigurationService, ITelegramBotClientWrapper telegramBotClient) : base(telegramBotClient) { _chatConfigurationService = chatConfigurationService; }