Skip to content
updateNewAuthorization

updateNewAuthorization

Back to constructors index

A new session logged into the current user’s account through an unknown device.

Attributes:

NameTypeRequiredDescription
unconfirmedBoolOptionalWhether the session is unconfirmed, see here Β» for more info.
hashlongYesHash used for caching, for more info click here
dateintOptionalAuthorization date
devicestringOptionalName of device, for example Android
locationstringOptionalLocation, for example USA, NY (IP=1.2.3.4)

Type: Update

Example:

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