MadelineProto/old_docs/API_docs_v27/constructors/auth_authorization.md

28 lines
542 B
Markdown
Raw Normal View History

---
title: auth_authorization
description: auth_authorization attributes, type and example
---
## Constructor: auth\_authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|expires|[int](../types/int.md) | Required|
|user|[User](../types/User.md) | Required|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
### Example:
```
$auth_authorization = ['_' => 'auth_authorization', 'expires' => int, 'user' => User, ];
```