Raw.auth.ResendCode

Raw.auth.ResendCode

Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendcode/auth.resendcode: see login for more info.

auth.resendCode#cae47523 flags:# phone_number:string phone_code_hash:string reason:flags.0?string = auth.SentCode;
export namespace Raw {
  export namespace auth {
    export class ResendCode {
      constructor(params: { phoneNumber: string; phoneCodeHash: string; reason?: string }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xcae47523

Property

  • phoneNumber : string

    The phone number

  • phoneCodeHash : string

    The phone code hash obtained from auth.sendcode

  • reason : string or undefined

    Official clients only, used if the device integrity verification failed, and no secret could be obtained to invoke auth.requestfirebasesms: in this case, the device integrity verification failure reason must be passed here.

Results

Raw.auth.TypeSentCode