diff options
author | Andrea Giove <andreagiove@outlook.com> | 2016-04-17 21:10:23 +0200 |
---|---|---|
committer | Andrea Giove <andreagiove@outlook.com> | 2016-04-17 21:10:23 +0200 |
commit | d134bf795a293a641655630bdd8ad44b5b70c1ae (patch) | |
tree | 740a4c04dd2394150148b1c4bb1323bc2ba86d4b /include/tgbot/EventHandler.h | |
parent | 730407e8df5031d19a097be4e3e597f2f3b868fd (diff) |
Added implementation to Inline Keyboard and added a new event broadcaster
Diffstat (limited to 'include/tgbot/EventHandler.h')
-rw-r--r-- | include/tgbot/EventHandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |