internal static ITelegramBotClient GetTelegramBotClient() { if (telegramBotClient == null) { telegramBotClient = new TelegramBotClient(BotToken.Get()); } return(telegramBotClient); }
private ModulesManager() { telegramBotClient = new TelegramBotClient(BotToken.Get()); messageManager = new MessageManager(); sessionManager = new SessionManager(); userManager = new UserManager(); secureManager = new SecureManager(); databaseManager = new DatabaseManager(); }