account.changeAuthorizationSettings
Change settings related to a session.
| Name | Type | Required | Description |
|---|---|---|---|
confirmed | true | No | If set, [confirms a newly logged in session »](https://core.telegram.org/api/auth.md#confirming-login). |
hash | long | Yes | Session ID from the [authorization](https://core.telegram.org/constructor/authorization.md) constructor, fetchable using [account.getAuthorizations](https://core.telegram.org/method/account.getAuthorizations.md) |
encrypted_requests_disabled | Bool | No | Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed |
call_requests_disabled | Bool | No | Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed |
Replies
Bool
MTProto RPC
- 400 · HASH_INVALID — The provided hash is invalid.