summaryrefslogtreecommitdiff
path: root/include/tgbot/Api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r--include/tgbot/Api.h3
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;
};