GetAuthorizationForm

class pyrogram.raw.functions.account.GetAuthorizationForm

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

Details
  • Layer: 126

  • ID: 0xb86ba8e1

Parameters
  • bot_id (int 32-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 – Authorization form.