mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-26 10:16:29 +00:00
Completely disable network statistics.
This commit is contained in:
parent
03bc114f93
commit
26854a6a3d
@ -4891,9 +4891,9 @@ void Client::on_update_authorization_state() {
|
|||||||
send_request(make_object<td_api::setOption>("reuse_uploaded_photos_by_hash",
|
send_request(make_object<td_api::setOption>("reuse_uploaded_photos_by_hash",
|
||||||
make_object<td_api::optionValueBoolean>(true)),
|
make_object<td_api::optionValueBoolean>(true)),
|
||||||
td::make_unique<TdOnOkCallback>());
|
td::make_unique<TdOnOkCallback>());
|
||||||
send_request(make_object<td_api::setOption>("disable_persistent_network_statistics",
|
send_request(
|
||||||
make_object<td_api::optionValueBoolean>(true)),
|
make_object<td_api::setOption>("disable_network_statistics", make_object<td_api::optionValueBoolean>(true)),
|
||||||
td::make_unique<TdOnOkCallback>());
|
td::make_unique<TdOnOkCallback>());
|
||||||
send_request(make_object<td_api::setOption>("disable_time_adjustment_protection",
|
send_request(make_object<td_api::setOption>("disable_time_adjustment_protection",
|
||||||
make_object<td_api::optionValueBoolean>(true)),
|
make_object<td_api::optionValueBoolean>(true)),
|
||||||
td::make_unique<TdOnOkCallback>());
|
td::make_unique<TdOnOkCallback>());
|
||||||
|
Loading…
Reference in New Issue
Block a user