868 B
868 B
title | description | image | redirect_from |
---|---|---|---|
auth.authorization | Contains user authorization info. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/auth_authorization.html |
Constructor: auth.authorization
Contains user authorization info.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
expires | int | Yes | Expiration date |
user | User | Optional | Info on authorized user |
Type: auth.Authorization
Example:
$auth.authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User];
Or, if you're into Lua:
auth.authorization={_='auth.authorization', expires=int, user=User}