MadelineProtoDocs/old_docs/API_docs_v46/constructors/updateNewAuthorization.md

962 B

title description image
updateNewAuthorization Update new authorization https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateNewAuthorization

Back to constructors index

Update new authorization

Attributes:

Name Type Required Description
auth_key_id long Yes Auth key ID
date int Yes Date
device string Yes Device
location string Yes Location

Type: Update

Example:

$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string'];

Or, if you're into Lua:

updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'}