account.AuthorizationForm#

class pyrogram.raw.types.account.AuthorizationForm#

Telegram Passport authorization form.

Constructor of AuthorizationForm.

Details:
  • Layer: 158

  • ID: AD2E1CD8

Parameters:
  • required_types (List of SecureRequiredType) – Required Telegram Passport documents.

  • values (List of SecureValue) – Already submitted Telegram Passport documents.

  • errors (List of SecureValueError) – Telegram Passport errors.

  • users (List of User) – Info about the bot to which the form will be submitted.

  • privacy_policy_url (str, optional) – URL of the service’s privacy policy.

Functions:

This object can be returned by 1 function.

account.GetAuthorizationForm

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