Set global privacy settings
globalPrivacySettings#bea2f424 flags:# archive_and_mute_new_noncontact_peers:flags.0?Bool = GlobalPrivacySettings;
---functions---
account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings;
Name | Type | Description |
---|---|---|
settings | GlobalPrivacySettings | Global privacy settings |
Code | Type | Description |
---|---|---|
400 | AUTOARCHIVE_NOT_AVAILABLE | The autoarchive setting is not available at this time: please check the value of the autoarchive_setting_available field in client config ยป before calling this method. |
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.