Raw.auth.ImportWebTokenAuthorization

Raw.auth.ImportWebTokenAuthorization

Login by importing an authorization token

auth.importWebTokenAuthorization#2db873a9 api_id:int api_hash:string web_auth_token:string = auth.Authorization;
export namespace Raw {
  export namespace auth {
    export class ImportWebTokenAuthorization {
      constructor(params: { apiId: number; apiHash: string; webAuthToken: string }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x2db873a9

Property

  • apiId : number

    Api id

  • apiHash : string

    Api hash

  • webAuthToken : string

    The authorization token

Results

Raw.auth.TypeAuthorization