mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 07:36:55 +01:00
38 lines
645 B
Markdown
38 lines
645 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, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
updateAuthState={_='updateAuthState', auth_state=AuthState, }
|
|
|
|
```
|
|
|
|
|