auth.bindTempAuthKey
Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
perm_auth_key_id | long | أيوه | Permanent auth_key_id to bind to |
nonce | long | أيوه | Random long from [Binding message contents](#binding-message-contents) |
expires_at | int | أيوه | Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents) |
encrypted_message | bytes | أيوه | See [Generating encrypted_message](#generating-encrypted-message) |
الردود
Bool
MTProto RPC
- 400 · ENCRYPTED_MESSAGE_INVALID — Encrypted message invalid.
- 400 · EXPIRES_AT_INVALID — The specified expires_at timestamp is invalid.
- 400 · TEMP_AUTH_KEY_ALREADY_BOUND — The passed temporary key is already bound to another **perm_auth_key_id**.
- 400 · TEMP_AUTH_KEY_EMPTY — No temporary auth key provided.