bind_temp_auth_key()¶
- async Client.bind_temp_auth_key()¶
Bind a temporary authorization key to a permanent authorization key.
Usable by Users Bots- Parameters:
perm_auth_key_id (
int) – Permanent auth_key_id to bind to.nonce (
int) – Random long integer nonce.expires_at (
int) – Unix timestamp after which the temporary key expires.encrypted_message (
bytes) – Encrypted binding message payload.
- Returns:
bool– On success, True is returned.
Example
await app.bind_temp_auth_key(perm_id, nonce, expires_at, enc_msg)