diff options
author | fadhil riyanto <me@fadev.org> | 2024-08-10 17:45:01 +0700 |
---|---|---|
committer | fadhil riyanto <me@fadev.org> | 2024-08-10 17:45:01 +0700 |
commit | 47f5f69f1df08d030e57f81f87024146372a2ce0 (patch) | |
tree | 5bcc93438d74f060fc0c41f0ed63650ea45c59f7 /src/Bot.cpp | |
parent | a3d1713761e796e1118390477d62df7cc1bc4a2e (diff) |
re-order TgBot::Bot class parameter
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'src/Bot.cpp')
-rw-r--r-- | src/Bot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bot.cpp b/src/Bot.cpp index 080b9a2..566f041 100644 --- a/src/Bot.cpp +++ b/src/Bot.cpp @@ -8,7 +8,7 @@ namespace TgBot { -Bot::Bot(std::string token, const HttpClient& httpClient, const std::string& url) +Bot::Bot(std::string token, const std::string& url, const HttpClient& httpClient) : _token(std::move(token)) , _api(_token, httpClient, url) , _eventBroadcaster(std::make_unique<EventBroadcaster>()) |