account.DeleteAccount#

class pyrogram.raw.functions.account.DeleteAccount#

Delete the user’s account from the telegram servers. Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see here for more info on password recovery, and here for more info on account deletion.

Usable by Users Bots

Note

This method may be used by not yet logged in connections.

Details:
  • Layer: 224

  • ID: A2C0CF74

Parameters:
Returns:

bool