account.setGlobalPrivacySettings
Set global privacy settings
| Name | Type | Required | Description |
|---|---|---|---|
settings | GlobalPrivacySettings | Yes | Global privacy settings |
Replies
GlobalPrivacySettings
MTProto RPC
- 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 »](https://core.telegram.org/api/config.md#client-configuration) before calling this method.
- 403 · BOT_ACCESS_FORBIDDEN — The specified method *can* be used over a [business connection](https://core.telegram.org/api/bots/connected-business-bots.md) for some operations, but the specified query attempted an operation that is not allowed over a business connection.
- 400 · BUSINESS_CONNECTION_INVALID — The connection_id passed to the wrapping [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) call is invalid.
- 403 · PREMIUM_ACCOUNT_REQUIRED — A premium account is required to execute this action.