1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:47:48 +01:00
MadelineProto/docs/API_docs/constructors/account_authorizations.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

820 B

title description
account.authorizations account_authorizations attributes, type and example

Constructor: account.authorizations

Back to constructors index

Attributes:

Name Type Required
authorizations Array of Authorization Yes

Type: account_Authorizations

Example:

$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]];

PWRTelegram json-encoded version:

{"_": "account.authorizations", "authorizations": [Authorization]}

Or, if you're into Lua:

account_authorizations={_='account.authorizations', authorizations={Authorization}}