auth.bindTempAuthKey
Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
perm_auth_key_id | long | Ja | Permanent auth_key_id to bind to |
nonce | long | Ja | Random long from [Binding message contents](#binding-message-contents) |
expires_at | int | Ja | Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents) |
encrypted_message | bytes | Ja | See [Generating encrypted_message](#generating-encrypted-message) |
Antworten
Bool
MTProto RPC
- 400 · ENCRYPTED_MESSAGE_INVALID – Verschlüsselte Nachricht ungültig.
- 400 · EXPIRES_AT_INVALID – Der angegebene Zeitstempel expires_at ist ungültig.
- 400 · TEMP_AUTH_KEY_ALREADY_BOUND – Der übergebene temporäre Schlüssel ist bereits an einen anderen **perm_auth_key_id** gebunden.
- 400 · TEMP_AUTH_KEY_EMPTY – Kein temporärer Authentifizierungsschlüssel bereitgestellt.