Skip to main content

auth.sentCodeTypeFirebaseSms

An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».

type tg.AuthSentCodeTypeFirebaseSMS struct { /* ... */ }

Implements auth.SentCodeType.

Fields

NameTypeRequiredDescription
Nonce[]byteOn Android, the nonce to be used as described in the auth documentation »
PlayIntegrityProjectIDint64Google Play Integrity project ID
PlayIntegrityNonce[]bytePlay Integrity API nonce
ReceiptstringOn iOS, must be compared with the receipt extracted from the received push notification.
PushTimeoutintOn iOS: if a push notification with the ios_push_secret isn't received within push_timeout seconds, the next_type authentication method must be used, with auth resendCode.
LengthintyesLength of the code that will be delivered.

References