auth.sentCodeTypeFirebaseSms #

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

Layer 223

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 #

NameTypeDescription
flags#Flags, see TL conditional fields
nonceflags.0?bytesOn Android, the nonce to be used as described in the auth documentation »
play_integrity_project_idflags.2?longGoogle Play Integrity project ID
play_integrity_nonceflags.2?bytesPlay Integrity API nonce
receiptflags.1?stringOn iOS, must be compared with the receipt extracted from the received push notification.
push_timeoutflags.1?intOn 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.
lengthintLength of the code that will be delivered.

Type #

auth.SentCodeType

User Authorization #

How to register a user's phone to start using the API.

auth.resendCode #

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.