AcceptAuthorization

class pyrogram.raw.functions.account.AcceptAuthorization

Sends a Telegram Passport authorization form, effectively sharing data with the service.

Details
  • Layer: 126

  • ID: 0xe7027c94

Parameters
  • bot_id (int 32-bit) – Bot ID.

  • scope (str) – Telegram Passport element types requested by the service.

  • public_key (str) – Service’s public key.

  • value_hashes (List of SecureValueHash) – Types of values sent and their hashes.

  • credentials (SecureCredentialsEncrypted) – Encrypted values.

Returns

bool – Primitive type.