telegram api constructor · layer 229 · #009fd736
auth.sentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».
definition
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 |
|---|---|---|
flags | # | Flags, see TL conditional fields |
nonce | bytes | On Android, the nonce to be used as described in the auth documentation » |
play_integrity_project_id | long | Google Play Integrity project ID |
play_integrity_nonce | bytes | Play Integrity API nonce |
receipt | string | On iOS, must be compared with the receipt extracted from the received push notification. |
push_timeout | 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 | Length of the code that will be delivered. |
type
auth.SentCodeType · other constructors: auth.sentCodeTypeApp, auth.sentCodeTypeSms, auth.sentCodeTypeCall, auth.sentCodeTypeFlashCall, auth.sentCodeTypeMissedCall, auth.sentCodeTypeEmailCode, auth.sentCodeTypeSetUpEmailRequired, auth.sentCodeTypeFragmentSms, auth.sentCodeTypeSmsWord, auth.sentCodeTypeSmsPhrase
history
present in layers 152–229 · constructor id changed 2×
| id | layers |
|---|---|
| #e57b1432 | 152–179 |
| #13c90f17 | 180–182 |
| #009fd736 | 183–229 |