Raw.auth.RequestFirebaseSms

Raw.auth.RequestFirebaseSms

Request an sms code via firebase.

auth.requestFirebaseSms#8e39261e flags:# phone_number:string phone_code_hash:string safety_net_token:flags.0?string play_integrity_token:flags.2?string ios_push_secret:flags.1?string = Bool;
export namespace Raw {
  export namespace auth {
    export class RequestFirebaseSms {
      constructor(params: {
        phoneNumber: string;
        phoneCodeHash: string;
        safetyNetToken?: string;
        playIntegrityToken?: string;
        iosPushSecret?: string;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x8e39261e

Property

  • phoneNumber : string

    Phone number

  • phoneCodeHash : string

    Phone code hash returned by auth.sendcode

  • safetyNetToken : string or undefined

    On android, a jws object obtained as described in the auth documentation

  • playIntegrityToken : string or undefined

    On android, an object obtained as described in the auth documentation

  • iosPushSecret : string or undefined

    Secret token received via an apple push notification

Results

boolean