AuthorizationForm

class pyrogram.raw.types.account.AuthorizationForm

Telegram Passport authorization form.

Constructor type of AuthorizationForm.

Details
  • Layer: 126

  • ID: 0xad2e1cd8

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.

Methods

This object can be returned by 1 method:

account.GetAuthorizationForm

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