get_authorization_form()

async Client.get_authorization_form()

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

Usable by Users Bots
Parameters:
  • bot_id (int) – 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:

AuthorizationForm – On success, authorization form is returned.