public DefaultInstruction(ITelegramBotClient telegramBotClient, MessageEventArgs messageEventArgs, BotPlatform botPlatform) { _telegramBotClient = telegramBotClient; _messageEventArgs = messageEventArgs; _commandRssService = botPlatform.Resolve <ICommandRssService>(); _queryRssService = botPlatform.Resolve <IQueryRssService>(); }
public RemoveRss_Instruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform) { _telegramBotClient = telegramBotClient; _callbackQueryEventArgs = callbackQueryEventArgs; _commandRssService = botPlatform.Resolve <ICommandRssService>(); }