class pyrogram.types.SentCode#

Contains info on a sent confirmation code.

  • type (SentCodeType) – Type of the current sent code.

  • phone_code_hash (str) – Confirmation code identifier useful for the next authorization steps (either sign_in() or sign_up()).

  • next_type (NextCodeType, optional) – Type of the next code to be sent with resend_code().

  • timeout (int, optional) – Delay in seconds before calling resend_code().