VerifyPhone

class pyrogram.raw.functions.account.VerifyPhone

Verify a phone number for telegram passport.

Details
  • Layer: 126

  • ID: 0x4dd3a7f6

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 – Primitive type.