MadelineProto/docs/TD_docs/constructors/updateAuthState.md
2017-07-23 16:33:46 +02:00

763 B

title description
updateAuthState User authorization state has changed

Constructor: updateAuthState

Back to constructors index

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}