TDLib v0.0.2 TDLib.Method.DeleteAccount View Source
Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account.
Returns object_ptr
Name | Type | Description |
---|---|---|
reason | string | The reason why the account was deleted; optional. |
More details on telegram’s documentation.