Raw.auth.SentCodeTypeFirebaseSms

Raw.auth.SentCodeTypeFirebaseSms

An authentication code should be delivered via sms after firebase attestation, as described in the auth documentation.

auth.sentCodeTypeFirebaseSms#9fd736 flags:# nonce:flags.0?bytes play_integrity_project_id:flags.2?long play_integrity_nonce:flags.2?bytes receipt:flags.1?string push_timeout:flags.1?int length:int = auth.SentCodeType;
export namespace Raw {
  export namespace auth {
    export class SentCodeTypeFirebaseSms {
      constructor(params: {
        nonce?: Buffer;
        playIntegrityProjectId?: bigint;
        playIntegrityNonce?: Buffer;
        receipt?: string;
        pushTimeout?: number;
        length: number;
      }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x9fd736

Property

  • nonce : Buffer or undefined

    On android, the nonce to be used as described in the auth documentation

  • playIntegrityProjectId : bigint or undefined
  • playIntegrityNonce : Buffer or undefined

    Play integrity api nonce

  • receipt : string or undefined

    On ios, must be compared with the receipt extracted from the received push notification.

  • pushTimeout : number or undefined

    On ios: if a push notification with the iosPushSecret isn’t received within pushTimeout seconds, the nextType authentication method must be used, with auth.resendcode.

  • length : number

    Length of the code that will be delivered.