public RssNewsJob(IUserRssService userRssService, IUserSubscribeService userSubscribeService , ITelegramGroupService telegramGroupService, IUserService userService, ILogService logService , ITelegramBotClient telegramBotClient) { _userRssService = userRssService; _telegramGroupService = telegramGroupService; _userService = userService; _userSubscribeService = userSubscribeService; _logService = logService; _telegramBotClient = telegramBotClient; }
public TelegramInterfaceHostedService(ITelegramBotClient telegramBotClient, IUserService userService , ITelegramGroupService telegramGroupService, ILogService logService , IUserRssService userRssService, IScheduleSubscribeService userSubscribeService) { _telegramBotClient = telegramBotClient; _userService = userService; _telegramGroupService = telegramGroupService; _logService = logService; _userRssService = userRssService; _userSubscribeService = userSubscribeService; }