account.changeAuthorizationSettings
Change settings related to a session.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
confirmed | true | Nein | If set, [confirms a newly logged in session »](https://core.telegram.org/api/auth.md#confirming-login). |
hash | long | Ja | 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 | Nein | Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed |
call_requests_disabled | Bool | Nein | Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed |
Antworten
Bool
MTProto RPC
- 400 · HASH_INVALID – Der bereitgestellte Hash ist ungültig.