account.GetAuthorizationForm

class pyrogram.raw.functions.account.GetAuthorizationForm

Returns a Telegram Passport authorization form for sharing data with a service

Details:
  • Layer: 194

  • ID: A929597A

Parameters:
  • bot_id (int 64-bit) – User identifier of the service’s bot

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

  • public_key (str) – Service’s public key

Returns:

account.AuthorizationForm