An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».
auth.sentCodeTypeFirebaseSms#13c90f17 flags:# nonce:flags.0?bytes play_integrity_nonce:flags.2?bytes receipt:flags.1?string push_timeout:flags.1?int length:int = auth.SentCodeType;| Name | Type | Description | 
|---|---|---|
| flags | # | Flags, see TL conditional fields | 
| nonce | flags.0?bytes | On Android, the nonce to be used as described in the auth documentation » | 
| play_integrity_project_id | flags.2?long | Google Play Integrity project ID | 
| play_integrity_nonce | flags.2?bytes | Play Integrity API nonce | 
| receipt | flags.1?string | On iOS, must be compared with the receiptextracted from the received push notification. | 
| push_timeout | flags.1?int | On iOS: if a push notification with the ios_push_secretisn't received withinpush_timeoutseconds, thenext_typeauthentication method must be used, with auth.resendCode. | 
| length | int | Length of the code that will be delivered. | 
How to register a user's phone to start using the API.
Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.