DeleteAccount

class pyrogram.raw.functions.account.DeleteAccount

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

Details
  • Layer: 122

  • ID: 0x418d4e0b

Parameters

reason (str) – Why is the account being deleted, can be empty.

Returns

bool – Primitive type.