Raw.UpdateNewAuthorization

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: 185
Constructor ID: 0x8951abef

Property

  • unconfirmed : boolean or undefined

    Whether the session is unconfirmed, see here for more info.

  • hash : bigint

    Hash used for caching, for more info click here

  • date : number or undefined

    Authorization date

  • device : string or undefined

    Name of device, for example android

  • location : string or undefined

    Location, for example usa, ny (ip=1.2.3.4)