SendCode

class pyrogram.api.functions.auth.SendCode(*, phone_number: str, api_id: int, api_hash: str, settings)
ID

0xa677244f

Parameters:
  • phone_numberstr
  • api_idint 32-bit
  • api_hashstr
  • settingsCodeSettings
Raises:

RPCError

Returns:

auth.SentCode