Constructor: account.authorizationForm

Back to constructors index

Telegram Passport authorization form

Attributes:

Name Type Required Description
required_types Array of SecureRequiredType Yes Required Telegram Passport documents
values Array of SecureValue Yes Already submitted Telegram Passport documents
errors Array of SecureValueError Yes Telegram Passport errors
users Array of User Yes Info about the bot to which the form will be submitted
privacy_policy_url string Optional URL of the service’s privacy policy

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

Or, if you’re into Lua:

account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.