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

1.1 KiB

title description image
account.webAuthorizations Telegram login authorizations https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: account.webAuthorizations

Back to constructors index

Telegram login authorizations

Attributes:

Name Type Required Description
authorizations Array of WebAuthorization Yes Authorizations
users Array of User Yes Users

Type: account_WebAuthorizations

Example:

$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "account.webAuthorizations", "authorizations": [WebAuthorization], "users": [User]}

Or, if you're into Lua:

account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}