public AdminBotForm() { InitializeComponent(); botClient = new TelegramBotClient(token); botLinq = new BotLinq(); question = new Question(botLinq); botClient.OnMessage += BotClient_OnMessageReceived; botClient.OnMessageEdited += BotClient_OnMessageReceived; botClient.OnCallbackQuery += BotOnCallbackQueryReceived; botClient.OnInlineQuery += BotOnInlineQueryReceived; botClient.OnInlineResultChosen += BotOnChosenInlineResultReceived; botClient.OnReceiveError += BotOnReceiveError; botClient.StartReceiving(Array.Empty <UpdateType>()); }
internal Question(BotLinq botLinq) { BotLnq = botLinq; }