mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-29 19:08:46 +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",
|
||||
make_object<td_api::optionValueBoolean>(true)),
|
||||
td::make_unique<TdOnOkCallback>());
|
||||
send_request(make_object<td_api::setOption>("disable_persistent_network_statistics",
|
||||
make_object<td_api::optionValueBoolean>(true)),
|
||||
td::make_unique<TdOnOkCallback>());
|
||||
send_request(
|
||||
make_object<td_api::setOption>("disable_network_statistics", make_object<td_api::optionValueBoolean>(true)),
|
||||
td::make_unique<TdOnOkCallback>());
|
||||
send_request(make_object<td_api::setOption>("disable_time_adjustment_protection",
|
||||
make_object<td_api::optionValueBoolean>(true)),
|
||||
td::make_unique<TdOnOkCallback>());
|
||||
|
Loading…
Reference in New Issue
Block a user