mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
updateNewAuthorization | A new session logged into the current user's account through an unknown device. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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 for pagination, 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'];