From 94846848b7b1c9db380825123997e49fbe3ebd58 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 7 Nov 2020 19:34:08 +0300 Subject: [PATCH] Make Client.start_up private. --- telegram-bot-api/Client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram-bot-api/Client.h b/telegram-bot-api/Client.h index b748fbb..eb1ecff 100644 --- a/telegram-bot-api/Client.h +++ b/telegram-bot-api/Client.h @@ -41,8 +41,6 @@ class Client : public WebhookActor::Callback { Client(td::ActorShared<> parent, const td::string &bot_token, bool is_test_dc, td::int64 tqueue_id, std::shared_ptr parameters, td::ActorId stat_actor); - void start_up() override; - void send(PromisedQueryPtr query) override; void close(); @@ -517,6 +515,8 @@ class Client : public WebhookActor::Callback { void long_poll_wakeup(bool force_flag); + void start_up() override; + void raw_event(const td::Event::Raw &event) override; void loop() override;