Layer 227
AuthSentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation.
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| Nonce | flags .0? bytes | On Android, the nonce to be used as described in the auth documentation |
| PlayIntegrityProjectId | flags .2? long | Google Play Integrity project ID |
| PlayIntegrityNonce | flags .2? bytes | Play Integrity API nonce |
| Receipt | flags .1? string | On i OS, must be compared with the receipt extracted from the received push notification. |
| PushTimeout | flags .1? int | On i OS: 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. resend Code. |
| Length | int | Length of the code that will be delivered. |
Returns
auth.SentCodeTypeGogram Example
// Creating AuthSentCodeTypeFirebaseSms constructor obj := &tg.AuthSentCodeTypeFirebaseSms{ Nonce: nil, PlayIntegrityProjectId: nil, PlayIntegrityNonce: nil, Receipt: "Hello, World!", PushTimeout: nil, Length: 42, }