MadelineProtoDocs/docs/API_docs/constructors/account_authorizations.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

45 lines
975 B
Markdown

---
title: account.authorizations
description: Authorized clients for this account
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.authorizations
[Back to constructors index](index.md)
Authorized clients for this account
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
### Example:
```php
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.authorizations", "authorizations": [Authorization]}
```
Or, if you're into Lua:
```lua
account_authorizations={_='account.authorizations', authorizations={Authorization}}
```