diff options
Diffstat (limited to 'include/tgbot/net/TgLongPoll.h')
-rw-r--r-- | include/tgbot/net/TgLongPoll.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/tgbot/net/TgLongPoll.h b/include/tgbot/net/TgLongPoll.h index 932fc6d..949a2a4 100644 --- a/include/tgbot/net/TgLongPoll.h +++ b/include/tgbot/net/TgLongPoll.h @@ -36,18 +36,18 @@ namespace TgBot { class TgLongPoll { public: - TgLongPoll(const Api* api, const EventHandler* eventHandler); - TgLongPoll(const Bot& bot); + TgLongPoll(const Api* api, const EventHandler* eventHandler); + TgLongPoll(const Bot& bot); - /** - * Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop. - */ - void start(); + /** + * Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop. + */ + void start(); private: - int32_t _lastUpdateId = 0; - const Api* _api; - const EventHandler* _eventHandler; + int32_t _lastUpdateId = 0; + const Api* _api; + const EventHandler* _eventHandler; }; } |