Constructor: updateNewAuthorization
A new session logged into the current user’s account through an unknown device.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| unconfirmed | Bool | Optional | Whether the session is unconfirmed, see here » for more info. |
| hash | long | Yes | Hash used for caching, for more info click here |
| date | int | Optional | Authorization date |
| device | string | Optional | Name of device, for example Android |
| location | string | Optional | Location, for example USA, NY (IP=1.2.3.4) |
Type: Update
Example:
$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'unconfirmed' => Bool, 'hash' => long, 'date' => int, 'device' => 'string', 'location' => 'string'];