Skip to content

sendAuthenticationFirebaseSms

Function · TDLib 1.8.67 · d1085f9c

Sends Firebase Authentication SMS to the phone number of the user. Works only when the current authorization state is authorizationStateWaitCode and the server returned code of the type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos

sendAuthenticationFirebaseSms(
  token: string
) → Ok

token

string

Play Integrity API or SafetyNet Attestation API token for the Android application, or secret from push notification for the iOS application