auth.requestFirebaseSms
Request an SMS code via Firebase.
| Name | Type | Required | Description |
|---|---|---|---|
phone_number | string | Yes | Phone number |
phone_code_hash | string | Yes | Phone code hash returned by [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |
safety_net_token | string | No | On Android, a JWS object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |
play_integrity_token | string | No | On Android, an object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |
ios_push_secret | string | No | Secret token received via an apple push notification |
Responses
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code is missing.
- 400 · PHONE_NUMBER_INVALID — The phone number is invalid.