MadelineProtoDocs/docs/API_docs/constructors/account_authorizationForm.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.6 KiB

title description image
account.authorizationForm account_authorizationForm attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.authorizationForm

Back to constructors index

Attributes:

Name Type Required
selfie_required Bool Optional
required_types Array of SecureValueType Yes
values Array of SecureValue Yes
errors Array of SecureValueError Yes
users Array of User Yes
privacy_policy_url string Optional

Type: account_AuthorizationForm

Example:

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

PWRTelegram json-encoded version:

{"_": "account.authorizationForm", "selfie_required": Bool, "required_types": [SecureValueType], "values": [SecureValue], "errors": [SecureValueError], "users": [User], "privacy_policy_url": "string"}

Or, if you're into Lua:

account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}