auth.SignIn

class pyrogram.raw.functions.auth.SignIn

Signs in a user with a validated phone number.

Details:
  • Layer: 187

  • ID: 8D52A951

Parameters:
  • phone_number (str) – Phone number in the international format

  • phone_code_hash (str) – SMS-message ID, obtained from auth.sendCode

  • phone_code (str, optional) – Valid numerical code from the SMS-message

  • email_verification (EmailVerification, optional) – Email verification code or token

Returns:

auth.Authorization