Skip to main content

updateNewAuthorization

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

type tg.UpdateNewAuthorization struct { /* ... */ }

Implements Update.

Fields

NameTypeRequiredDescription
UnconfirmedboolWhether the session is unconfirmed, see here » for more info.
Hashint64yesHash used for caching, for more info click here
DateintAuthorization date
DevicestringName of device, for example Android
LocationstringLocation, for example USA, NY (IP=1.2.3.4)

References