MadelineProtoDocs/docs/API_docs/constructors/account_authorizationForm.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.6 KiB

title description image
account.authorizationForm Telegram passport authorization form 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 Privacy policy URL

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'];

PWRTelegram json-encoded version:

{"_": "account.authorizationForm", "required_types": [SecureRequiredType], "values": [SecureValue], "errors": [SecureValueError], "users": [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'}