mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:36:55 +01:00
766 B
766 B
title | description |
---|---|
updateAuthState | User authorization state has changed |
Constructor: updateAuthState
User authorization state has changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
auth_state | AuthState | Yes | New authorization state |
Type: Update
Example:
$updateAuthState = ['_' => 'updateAuthState', 'auth_state' => AuthState, ];
PWRTelegram json-encoded version:
{"_":"updateAuthState","auth_state":"AuthState"}
Or, if you're into Lua:
updateAuthState={_='updateAuthState', auth_state=AuthState, }