MadelineProtoDocs/docs/API_docs/constructors/account.authorizationForm.md
2019-12-27 18:25:37 +01:00

1.5 KiB

title: account.authorizationForm description: Telegram Passport authorization form image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.authorizationForm

Back to constructors index

Telegram Passport authorization form

Attributes:

Name Type Required Description
required_types Array of SecureRequiredType Yes Required types
values Array of SecureValue Yes Values
errors Array of SecureValueError Yes Errors
users Array of User Yes Users
privacy_policy_url string Optional URL 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'];

Or, if you're into Lua:

account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}