account.VerifyPhone#

class pyrogram.raw.functions.account.VerifyPhone#

Verify a phone number for telegram passport.

Details:
  • Layer: 158

  • ID: 4DD3A7F6

Parameters:
  • phone_number (str) – Phone number.

  • phone_code_hash (str) – Phone code hash received from the call to account.sendVerifyPhoneCode.

  • phone_code (str) – Code received after the call to account.sendVerifyPhoneCode.

Returns:

bool