summaryrefslogtreecommitdiff
path: root/include/tgbot/Bot.h
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-08-10 17:45:01 +0700
committerfadhil riyanto <me@fadev.org>2024-08-10 17:45:01 +0700
commit47f5f69f1df08d030e57f81f87024146372a2ce0 (patch)
tree5bcc93438d74f060fc0c41f0ed63650ea45c59f7 /include/tgbot/Bot.h
parenta3d1713761e796e1118390477d62df7cc1bc4a2e (diff)
re-order TgBot::Bot class parameter
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'include/tgbot/Bot.h')
-rw-r--r--include/tgbot/Bot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Bot.h b/include/tgbot/Bot.h
index 36d3cb4..d7ed0c0 100644
--- a/include/tgbot/Bot.h
+++ b/include/tgbot/Bot.h
@@ -21,7 +21,7 @@ class HttpClient;
class TGBOT_API Bot {
public:
- explicit Bot(std::string token, const HttpClient &httpClient = _getDefaultHttpClient(), const std::string& url="https://api.telegram.org");
+ explicit Bot(std::string token, const std::string& url, const HttpClient &httpClient = _getDefaultHttpClient());
/**
* @return Token for accessing api.