MadelineProto/docs/TD_docs/constructors/updateAuthState.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

45 lines
763 B
Markdown

---
title: updateAuthState
description: User authorization state has changed
---
## Constructor: updateAuthState
[Back to constructors index](index.md)
User authorization state has changed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|auth\_state|[AuthState](../types/AuthState.md) | Yes|New authorization state|
### Type: [Update](../types/Update.md)
### Example:
```
$updateAuthState = ['_' => 'updateAuthState', 'auth_state' => AuthState];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateAuthState", "auth_state": AuthState}
```
Or, if you're into Lua:
```
updateAuthState={_='updateAuthState', auth_state=AuthState}
```