account.ConfirmPhone#

class pyrogram.raw.functions.account.ConfirmPhone#

Confirm a phone number to cancel account deletion.

Details:
  • Layer: 158

  • ID: 5F2178C3

Parameters:
  • phone_code_hash (str) – Phone code hash.

  • phone_code (str) – SMS code.

Returns:

bool