ChangePhone

class pyrogram.api.functions.account.ChangePhone(phone_number: str, phone_code_hash: str, phone_code: str)
ID

0x70c32edb

Parameters:
  • phone_numberstr
  • phone_code_hashstr
  • phone_codestr
Raises:

Error

Returns:

Either UserEmpty or User