public NotifierBot(string apiKey) { TheClient = new TelegramBotClient(apiKey); RequestQueue = new RequestMessageQueue(this); ResponseQueue = new ResponseMessageQueue(this); TheClient.OnMessage += this.OnMessageReceived; TheClient.OnCallbackQuery += this.OnCallbackQueryReceived; TheClient.OnInlineResultChosen += this.OnChosenInlineResultReceived; TheClient.OnInlineQuery += this.OnInlineQueryReceived; TheClient.OnReceiveError += this.OnReceiveError; TheClient.OnReceiveGeneralError += this.OnReceiveGeneralError; TheClient.OnUpdate += this.OnUpdateReceived; }