account.deleteAccount
Löschen Sie das Konto des Benutzers von den Telegram-Servern.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
reason | string | Ja | Why is the account being deleted, can be empty |
password | InputCheckPasswordSRP | Nein | [2FA password](https://core.telegram.org/api/srp.md): this field can be omitted even for accounts with 2FA enabled: in this case account account deletion will be delayed by 7 days [as specified in the docs »](https://core.telegram.org/api/account-deletion.md) |
Antworten
Bool
MTProto RPC
- 420 · 2FA_CONFIRM_WAIT_%d — Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.
- 400 · PASSWORD_HASH_INVALID – Der bereitgestellte Passwort-Hash ist ungültig.