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: 122

  • ID: 0xcdd42a05

Parameters
  • perm_auth_key_id (int 64-bit) – Permanent auth_key_id to bind to.

  • nonce (int 64-bit) – Random long from Binding message contents.

  • expires_at (int 32-bit) – Unix timestamp to invalidate temporary key, see Binding message contents.

  • encrypted_message (bytes) – See Generating encrypted_message.

Returns

bool – Primitive type.