auth.bindTempAuthKey
Vincula uma chave de autorização temporária `temp_auth_key_id` à chave de autorização permanente `perm_auth_key_id`.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
perm_auth_key_id | long | Sim | Permanente auth_key_id para vincular |
nonce | long | Sim | Longo aleatório de [Conteúdo da mensagem de ligação](#binding-message-contents) |
expires_at | int | Sim | Carimbo de data e hora Unix para invalidar a chave temporária, consulte [Conteúdo da mensagem de ligação](#binding-message-contents) |
encrypted_message | bytes | Sim | Consulte [Gerando encrypted_message](#generating-encrypted-message) |
Respostas
Bool
MTProto RPC
- 400 · ENCRYPTED_MESSAGE_INVALID — Mensagem criptografada inválida.
- 400 · EXPIRES_AT_INVALID — O carimbo de data/hora expires_at especificado é inválido.
- 400 · TEMP_AUTH_KEY_ALREADY_BOUND — A chave temporária passada já está vinculada a outra **perm_auth_key_id**.
- 400 · TEMP_AUTH_KEY_EMPTY — Nenhuma chave de autenticação temporária fornecida.