SendConfirmPhoneCode

class pyrogram.api.functions.account.SendConfirmPhoneCode(hash: str, allow_flashcall: bool = None, current_number: bool = None)
ID

0x1516d7bd

Parameters:
  • hashstr
  • allow_flashcall (optional) – bool
  • current_number (optional) – bool
Raises:

Error

Returns:

auth.SentCode