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. For more information, see Perfect Forward Secrecy.
Note
This method may be used by not yet logged in connections.
- Details:
Layer:
224ID:
CDD42A05
- Parameters:
perm_auth_key_id (
int64-bit) – Permanent auth_key_id to bind tononce (
int64-bit) – Random long from Binding message contentsexpires_at (
int32-bit) – Unix timestamp to invalidate temporary key, see Binding message contentsencrypted_message (
bytes) – See Generating encrypted_message
- Returns:
bool