private static void Load() { Console.WriteLine("Dates are specified in the format MM-DD"); LoadConfig(); _messagingApi = new TelegramApi(Config.Token, Config.ChatId); Console.WriteLine($"Using {_messagingApi.GetType().Name}"); _birthdays = Birthdays.Load(_messagingApi); var messageHandler = new TelegramMessageHandler(_messagingApi, _birthdays, _adminManager); _messagingApi.AddHandler(messageHandler); ExitHandlers.Add(_birthdays); ExitHandlers.Add(messageHandler); }