SignIn

class pyrogram.raw.functions.auth.SignIn

Signs in a user with a validated phone number.

Details
  • Layer: 126

  • ID: 0xbcd51581

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

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

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

Returns

auth.Authorization – Oject contains info on user authorization.