summaryrefslogtreecommitdiff
path: root/include/tgbot/EventHandler.h
diff options
context:
space:
mode:
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);
}