MadelineProtoDocs/old_docs/API_docs_v41/constructors/auth.authorization.md
2019-12-27 18:25:37 +01:00

720 B

title description image
auth.authorization Contains user authorization info. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: auth.authorization

Back to constructors index

Contains user authorization info.

Attributes:

Name Type Required Description
user User Optional Info on authorized user

Type: auth.Authorization

Example:

$auth.authorization = ['_' => 'auth.authorization', 'user' => User];

Or, if you're into Lua:

auth.authorization={_='auth.authorization', user=User}