mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 22:16:54 +01:00
44 lines
633 B
Markdown
44 lines
633 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', }
|
|
|
|
```
|
|
|
|
|