summaryrefslogtreecommitdiff
path: root/include/tgbot/Api.h
diff options
context:
space:
mode:
authortemomik <temomik44@gmail.com>2023-12-01 20:16:03 +0000
committertemomik <temomik44@gmail.com>2023-12-01 20:16:03 +0000
commit658f37f93d1a0c31c447adb3022cfd6cee4a1876 (patch)
tree66f31434af61a5b4dda9a3591d67fc528273b505 /include/tgbot/Api.h
parent782596206764e663b9b45401b447871f21ce62b2 (diff)
Added ability to handle error codes from all Api requests
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r--include/tgbot/Api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index 7db68e7..6bd24e4 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -1989,7 +1989,7 @@ public:
const HttpClient& _httpClient;
-private:
+protected:
boost::property_tree::ptree sendRequest(const std::string& method, const std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) const;
const std::string _token;