2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: auth.authorizationSignUpRequired
|
2019-08-15 20:30:02 +02:00
|
|
|
description: Signup is required
|
2019-08-15 20:25:16 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: auth.authorizationSignUpRequired
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-15 20:30:02 +02:00
|
|
|
Signup is required
|
|
|
|
|
2019-08-15 20:25:16 +02:00
|
|
|
### Attributes:
|
|
|
|
|
2019-08-15 20:30:02 +02:00
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's Terms of Service|
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$auth_authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help_TermsOfService];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
auth_authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help_TermsOfService}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|