44 lines
1.6 KiB
Markdown
44 lines
1.6 KiB
Markdown
---
|
|
title: account.authorizationForm
|
|
description: [Telegram Passport](https://core.telegram.org/passport) authorization form
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: account.authorizationForm
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
[Telegram Passport](https://core.telegram.org/passport) authorization form
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|selfie\_required|[Bool](../types/Bool.md) | Optional|Selfie required?|
|
|
|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Required types|
|
|
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values|
|
|
|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors|
|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
|
|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy|
|
|
|
|
|
|
|
|
### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
|
|
|
```
|
|
|
|
|