auth.sendCode
Send the verification code for login
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
phone_number | string | Ja | Phone number in international format |
api_id | int | Ja | Application identifier (see [App configuration](https://core.telegram.org/myapp)) |
api_hash | string | Ja | Application secret hash (see [App configuration](https://core.telegram.org/myapp)) |
settings | CodeSettings | Ja | Settings for the code type to send |
Antworten
auth.SentCode
MTProto RPC
- 400 · API_ID_INVALID — API ID ungültig.
- 400 · API_ID_PUBLISHED_FLOOD – Diese API-ID wurde irgendwo veröffentlicht, Sie können sie jetzt nicht verwenden.
- 500 · AUTH_RESTART – Starten Sie den Autorisierungsprozess neu.
- 500 · AUTH_RESTART_%d – Interner Fehler (Debug-Info %d), bitte wiederholen Sie den Methodenaufruf.
- 400 · PHONE_NUMBER_APP_SIGNUP_FORBIDDEN – Sie können sich nicht mit dieser App anmelden.
- 400 · PHONE_NUMBER_BANNED — Die angegebene Telefonnummer ist aus dem Telegramm ausgeschlossen.
- 400 · PHONE_NUMBER_FLOOD – Sie haben zu oft nach dem Code gefragt.
- 406 · PHONE_NUMBER_INVALID – Die Telefonnummer ist ungültig.
- 406 · PHONE_PASSWORD_FLOOD – Sie haben zu oft versucht, sich anzumelden.
- 400 · PHONE_PASSWORD_PROTECTED — Dieses Telefon ist passwortgeschützt.
- 400 · SMS_CODE_CREATE_FAILED – Beim Erstellen des SMS-Codes ist ein Fehler aufgetreten.
- 406 · UPDATE_APP_TO_LOGIN — Please update your client to login.