Link Search Menu Expand Document

Constructor: 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 for pagination, 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'];