From d134bf795a293a641655630bdd8ad44b5b70c1ae Mon Sep 17 00:00:00 2001 From: Andrea Giove Date: Sun, 17 Apr 2016 21:10:23 +0200 Subject: Added implementation to Inline Keyboard and added a new event broadcaster --- include/tgbot/EventHandler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/tgbot/EventHandler.h') diff --git a/include/tgbot/EventHandler.h b/include/tgbot/EventHandler.h index 64f74cd..63ecde3 100644 --- a/include/tgbot/EventHandler.h +++ b/include/tgbot/EventHandler.h @@ -67,6 +67,8 @@ public: _broadcaster->broadcastInlineQuery(update->inlineQuery); if (update->chosenInlineResult != NULL) _broadcaster->broadcastChosenInlineResult(update->chosenInlineResult); + if (update->callbackQuery != NULL) + _broadcaster->broadcastCallbackQuery(update->callbackQuery); if (update->message != NULL) handleMessage(update->message); } -- cgit v1.2.3