From 26854a6a3dfd677bbbd3a4f0462519fb79829b2a Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 13 Mar 2023 17:40:07 +0300 Subject: [PATCH] Completely disable network statistics. --- telegram-bot-api/Client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 75dd162..ea9d03c 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -4891,9 +4891,9 @@ void Client::on_update_authorization_state() { send_request(make_object("reuse_uploaded_photos_by_hash", make_object(true)), td::make_unique()); - send_request(make_object("disable_persistent_network_statistics", - make_object(true)), - td::make_unique()); + send_request( + make_object("disable_network_statistics", make_object(true)), + td::make_unique()); send_request(make_object("disable_time_adjustment_protection", make_object(true)), td::make_unique());