diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2018-06-05 19:06:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 19:06:23 +0300 |
commit | 1a90b5022d47bc0059214381b74db6fae9767cef (patch) | |
tree | f88e480700cb36f8acdcfdebcbac01328f16c98d /include/tgbot/EventBroadcaster.h | |
parent | 381a1cd0d949db88abd0b28bc717a8690b93ccc0 (diff) | |
parent | 0f4e792a641527aa590a1a9e23bdaad2f16ab6bc (diff) |
Merge pull request #63 from JellyBrick/master
Bot API 2.2 (Game) update / Add optimization option
Diffstat (limited to 'include/tgbot/EventBroadcaster.h')
-rw-r--r-- | include/tgbot/EventBroadcaster.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/tgbot/EventBroadcaster.h b/include/tgbot/EventBroadcaster.h index 2bb2d2a..5a41c70 100644 --- a/include/tgbot/EventBroadcaster.h +++ b/include/tgbot/EventBroadcaster.h @@ -38,7 +38,8 @@ namespace TgBot { class EventHandler; /** - * This class holds all event listeners. + * @brief This class holds all event listeners. + * * @ingroup general */ class EventBroadcaster { @@ -52,7 +53,7 @@ public: typedef std::function<void (const CallbackQuery::Ptr)> CallbackQueryListener; /** - * Registers listener which receives all messages which the bot can ever receive. + * @brief Registers listener which receives all messages which the bot can ever receive. * @param listener Listener. */ inline void onAnyMessage(const MessageListener& listener) { @@ -60,7 +61,7 @@ public: } /** - * Registers listener which receives all messages with commands (messages with leading '/' char). + * @brief Registers listener which receives all messages with commands (messages with leading '/' char). * @param commandName Command name which listener can handle. * @param listener Listener. */ @@ -69,7 +70,7 @@ public: } /** - * Registers listener which receives all messages with commands (messages with leading '/' char). + * @brief Registers listener which receives all messages with commands (messages with leading '/' char). * @param commandsList Commands names which listener can handle. * @param listener Listener. */ @@ -81,7 +82,7 @@ public: } /** - * Registers listener which receives all messages with commands (messages with leading '/' char) which haven't been handled by other listeners. + * @brief Registers listener which receives all messages with commands (messages with leading '/' char) which haven't been handled by other listeners. * @param listener Listener. */ inline void onUnknownCommand(const MessageListener& listener) { @@ -89,7 +90,7 @@ public: } /** - * Registers listener which receives all messages without commands (messages with no leading '/' char) + * @brief Registers listener which receives all messages without commands (messages with no leading '/' char) * @param listener Listener. */ inline void onNonCommandMessage(const MessageListener& listener) { @@ -97,7 +98,7 @@ public: } /** - * Registers listener which receives all the inline query. + * @brief Registers listener which receives all the inline query. * @param listener Listener. */ inline void onInlineQuery(const InlineQueryListener& listener) { @@ -105,7 +106,7 @@ public: } /** - * Registers listener which receives all the chosen inline result. + * @brief Registers listener which receives all the chosen inline result. * @param listener Listener. */ inline void onChosenInlineResult(const ChosenInlineResultListener& listener){ |