MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateNewAuthorization.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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'];

PWRTelegram json-encoded version:

{"_": "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'}