delete_account()¶
- async Client.delete_account()¶
Delete the user’s account from the telegram servers.
Usable by Users Bots- Parameters:
reason (
str, optional) – Reason why the account is being deleted. Defaults to empty string.password (
InputCheckPasswordSRP, optional) – 2FA password SRP parameters.
- Returns:
bool– On success, True is returned.