diff options
Diffstat (limited to 'src/Bot.cpp')
-rw-r--r-- | src/Bot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bot.cpp b/src/Bot.cpp index 11bea2c..080b9a2 100644 --- a/src/Bot.cpp +++ b/src/Bot.cpp @@ -8,9 +8,9 @@ namespace TgBot { -Bot::Bot(std::string token, const HttpClient& httpClient) +Bot::Bot(std::string token, const HttpClient& httpClient, const std::string& url) : _token(std::move(token)) - , _api(_token, httpClient) + , _api(_token, httpClient, url) , _eventBroadcaster(std::make_unique<EventBroadcaster>()) , _eventHandler(getEvents()) { } |