4baac3178e
Add PHP, Lua language tag to Code area
1.6 KiB
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
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'}