Link Search Menu Expand Document

Constructor: account.authorizationForm

Back to constructors index

Telegram Passport authorization form

Attributes:

NameTypeRequiredDescription
required_typesArray of SecureRequiredTypeYesRequired Telegram Passport documents
valuesArray of SecureValueYesAlready submitted Telegram Passport documents
errorsArray of SecureValueErrorYesTelegram Passport errors
usersArray of UserYesInfo about the bot to which the form will be submitted
privacy_policy_urlstringOptionalURL of the service’s privacy policy

Type: account.AuthorizationForm

Example:

$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];