2019-03-08 13:49:23 +01:00
|
|
|
---
|
|
|
|
title: account.authorizationForm
|
2019-12-27 17:48:04 +01:00
|
|
|
description: [Telegram Passport](https://core.telegram.org/passport) authorization form
|
2019-03-08 13:49:23 +01:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: account.authorizationForm
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
[Telegram Passport](https://core.telegram.org/passport) authorization form
|
2019-03-08 13:49:23 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.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|
|
2019-12-27 17:48:04 +01:00
|
|
|
|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy|
|
2019-03-08 13:49:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$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:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|