auth.BindTempAuthKey
- class pyrogram.raw.functions.auth.BindTempAuthKey
Binds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_key_id. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
- Details:
Layer:
194
ID:
CDD42A05
- Parameters:
perm_auth_key_id (
int
64-bit
) – Permanent auth_key_id to bind tononce (
int
64-bit
) – Random long from Binding message contentsexpires_at (
int
32-bit
) – Unix timestamp to invalidate temporary key, see Binding message contentsencrypted_message (
bytes
) – See Generating encrypted_message
- Returns:
bool