Raw.UpdateNewAuthorization
A new session logged into the current user’s account through an unknown device.
updateNewAuthorization#8951abef flags:# unconfirmed:flags.0?true hash:long date:flags.0?int device:flags.0?string location:flags.0?string = Update;export namespace Raw {
export class UpdateNewAuthorization {
constructor(params: {
unconfirmed?: boolean;
hash: bigint;
date?: number;
device?: string;
location?: string;
}) {}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0x8951abef
Property
unconfirmed: boolean or undefinedWhether the session is unconfirmed, see here for more info.
hash: bigintHash used for caching, for more info click here
date: number or undefinedAuthorization date
device: string or undefinedName of device, for example android
location: string or undefinedLocation, for example usa, ny (ip=1.2.3.4)