diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2023-01-29 18:17:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 18:17:12 +0300 |
commit | 4356f747596a42dd04766f9c7234fd1aded2eeda (patch) | |
tree | 8cea4cad5a8bc15e8213193743111f41a73e1461 /include/tgbot/Api.h | |
parent | ab7ce1f7ae842c74f67f3576542aa68f5eff8ebb (diff) | |
parent | a8defacf2ba9bc3029b16af48a539553f873866b (diff) |
Merge pull request #257 from llnulldisk/master
Fix timeout issues (#251)
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r-- | include/tgbot/Api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index c3ae922..b34a10d 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -1982,12 +1982,13 @@ public: * @return Returns True if bot is blocked by user */ bool blockedByUser(std::int64_t chatId) const; + + const HttpClient& _httpClient; private: boost::property_tree::ptree sendRequest(const std::string& method, const std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) const; const std::string _token; - const HttpClient& _httpClient; const TgTypeParser _tgTypeParser; const std::string _url; }; |