auth.requestFirebaseSms
Request an SMS code via Firebase.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
phone_number | string | Ja | Telefonnummer |
phone_code_hash | string | Ja | Phone code hash returned by [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |
safety_net_token | string | Nein | On Android, a JWS object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |
play_integrity_token | string | Nein | On Android, an object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |
ios_push_secret | string | Nein | Secret token received via an apple push notification |
Antworten
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code fehlt.
- 400 · PHONE_NUMBER_INVALID – Die Telefonnummer ist ungültig.