MadelineProtoDocs/old_docs/API_docs_v109/constructors/account.webAuthorizations.md

41 lines
1003 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: account.webAuthorizations
description: Web authorizations
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_webAuthorizations.html
---
# Constructor: account.webAuthorizations
[Back to constructors index](index.md)
Web authorizations
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md)
### Example:
```php
$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}
```