MadelineProto/docs/TD_docs/constructors/authStateOk.md

44 lines
630 B
Markdown
Raw Normal View History

---
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:
```
2017-07-23 16:33:46 +02:00
$authStateOk = ['_' => 'authStateOk'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "authStateOk"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
authStateOk={_='authStateOk'}
```