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
| Name | Type | Required | Description |
|---|---|---|---|
Nonce | []byte | — | On Android, the nonce to be used as described in the auth documentation » |
PlayIntegrityProjectID | int64 | — | Google Play Integrity project ID |
PlayIntegrityNonce | []byte | — | Play Integrity API nonce |
Receipt | string | — | On iOS, must be compared with the receipt extracted from the received push notification. |
PushTimeout | int | — | On 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. |
Length | int | yes | Length of the code that will be delivered. |
References
- Official documentation
- Generated Go reference
- TL definition:
auth.sentCodeTypeFirebaseSms#9fd736