public TimeZoneNotifyHandler(TelemetryClient telemetryClient, ITelegramBotClient bot, RaidBattlesContext db, TimeZoneNotifyService timeZoneNotifyService) { myTelemetryClient = telemetryClient; myBot = bot; myDB = db; myTimeZoneNotifyService = timeZoneNotifyService; }
public TimeZoneQueryHandler(ITelegramBotClientEx bot, IDateTimeZoneProvider dateTimeZoneProvider, IClock clock, IUrlHelper urlHelper, RaidBattlesContext db, IOptions <BotConfiguration> options, TimeZoneNotifyService timeZoneNotifyService, TimeZoneService timeZoneService) { myBot = bot; myDateTimeZoneProvider = dateTimeZoneProvider; myClock = clock; myUrlHelper = urlHelper; myDB = db; myTimeZoneNotifyService = timeZoneNotifyService; myTimeZoneService = timeZoneService; mySuperAdministrators = options.Value?.SuperAdministrators ?? new HashSet <long>(0); }
public VoteCallbackQueryHandler(TelemetryClient telemetryClient, RaidBattlesContext db, IDictionary <long, ITelegramBotClient> bots, ITelegramBotClient bot, RaidService raidService, IUrlHelper urlHelper, IClock clock, IOptions <BotConfiguration> options, FriendshipService friendshipService, TimeZoneNotifyService timeZoneNotifyService) { myTelemetryClient = telemetryClient; myDb = db; myBots = bots; myBot = bot; myRaidService = raidService; myUrlHelper = urlHelper; myClock = clock; myFriendshipService = friendshipService; myTimeZoneNotifyService = timeZoneNotifyService; myVoteTimeout = options.Value.VoteTimeout; myBlackList = options.Value.BlackList ?? new HashSet <long>(0); }
public TimeZoneNotificationCommandHandler(IOptions <BotConfiguration> options, TimeZoneNotifyService timeZoneNotifyService, ITelegramBotClient bot) { myBot = bot; myTimeZoneNotifyService = timeZoneNotifyService; mySuperAdministrators = options.Value?.SuperAdministrators ?? new HashSet <long>(0); }