Layer 227
AccountAuthorizationFormObj
Telegram Passport authorization form
constructor
account.authorizationForm#ad2e1cd8 flags:# required_types:Vector<SecureRequiredType> values:Vector<SecureValue> errors:Vector<SecureValueError> users:Vector<User> privacy_policy_url:flags.0?string = account.AuthorizationForm;
Parameters
| Name | Type | Description |
|---|---|---|
| RequiredTypes | Vector < SecureRequiredType > | Required Telegram Passport documents |
| Values | Vector < SecureValue > | Already submitted Telegram Passport documents |
| Errors | Vector < SecureValueError > | Telegram Passport errors |
| Users | Vector < User > | Info about the bot to which the form will be submitted |
| PrivacyPolicyUrl | flags .0? string | URL of the service's privacy policy |
Returns
account.AuthorizationFormGogram Example
// Creating AccountAuthorizationFormObj constructor obj := &tg.AccountAuthorizationFormObj{ RequiredTypes: &tg.VectorSecureRequiredType{}, Values: &tg.VectorSecureValue{}, Errors: &tg.VectorSecureValueError{}, Users: &tg.VectorUser{}, PrivacyPolicyUrl: "Hello, World!", }