summaryrefslogtreecommitdiff
path: root/include/tgbot/EventHandler.h
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2016-04-17 23:22:52 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2016-04-17 23:22:52 +0300
commit53418361401958da5cfa3741a8f79687e103c94a (patch)
tree447c7ba83c868066f59d7c10391723a29cdcb58f /include/tgbot/EventHandler.h
parent5d73c438a57b5d0c0846972febc13c1710461185 (diff)
parent9ba69d7e87c9b8ff9997294b68550852ef0274b8 (diff)
Merge pull request #22 from aadeg/master
Diffstat (limited to 'include/tgbot/EventHandler.h')
-rw-r--r--include/tgbot/EventHandler.h2
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);
}