MadelineProto/docs/TD_docs/constructors/authStateOk.md
2017-07-23 16:33:46 +02:00

44 lines
630 B
Markdown

---
title: authStateOk
description: User is successfully authorized. TDLib can answer queries
---
## Constructor: authStateOk
[Back to constructors index](index.md)
User is successfully authorized. TDLib can answer queries
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateOk = ['_' => 'authStateOk'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateOk"}
```
Or, if you're into Lua:
```
authStateOk={_='authStateOk'}
```