UpdateSentPhoneCode

class pyrogram.raw.types.UpdateSentPhoneCode

A paid login SMS code was successfully sent.

Constructor of Update.

Details:
  • Layer: 223

  • ID: 504AA18F

Parameters:

sent_code (auth.SentCode) – Info about the sent code.

TL Schema

updateSentPhoneCode#504aa18f
sent_code:auth.SentCode

= Update

Parameter Tree

UpdateSentPhoneCode
└── sent_codeauth.SentCode
├── auth.SentCode
│ ├── typeauth.SentCodeType
│ │ ├── auth.SentCodeTypeApp
│ │ │ └── lengthint
│ │ ├── auth.SentCodeTypeSms
│ │ │ └── lengthint
│ │ ├── auth.SentCodeTypeCall
│ │ │ └── lengthint
│ │ ├── auth.SentCodeTypeFlashCall
│ │ │ └── patternstring
│ │ ├── auth.SentCodeTypeMissedCall
│ │ │ ├── prefixstring
│ │ │ └── lengthint
│ │ ├── auth.SentCodeTypeEmailCode
│ │ │ ├── apple_signin_allowedtrue (optional)
│ │ │ ├── google_signin_allowedtrue (optional)
│ │ │ ├── email_patternstring
│ │ │ ├── lengthint
│ │ │ ├── reset_available_periodint (optional)
│ │ │ └── reset_pending_dateint (optional)
│ │ │ ├── apple_signin_allowedtrue (optional)
│ │ │ └── google_signin_allowedtrue (optional)
│ │ │ ├── urlstring
│ │ │ └── lengthint
│ │ │ ├── noncebytes (optional)
│ │ │ ├── play_integrity_project_idlong (optional)
│ │ │ ├── play_integrity_noncebytes (optional)
│ │ │ ├── receiptstring (optional)
│ │ │ ├── push_timeoutint (optional)
│ │ │ └── lengthint
│ │ ├── auth.SentCodeTypeSmsWord
│ │ │ └── beginningstring (optional)
│ │ └── auth.SentCodeTypeSmsPhrase
│ │ └── beginningstring (optional)
│ ├── phone_code_hashstring
│ ├── next_typeauth.CodeType (optional)
│ │ ├── auth.CodeTypeSms
│ │ ├── auth.CodeTypeCall
│ │ ├── auth.CodeTypeFlashCall
│ │ ├── auth.CodeTypeMissedCall
│ │ └── auth.CodeTypeFragmentSms
│ └── timeoutint (optional)
│ └── authorizationauth.Authorization
│ ├── auth.Authorization
│ │ ├── setup_password_requiredtrue (optional)
│ │ ├── otherwise_relogin_daysint (optional)
│ │ ├── tmp_sessionsint (optional)
│ │ ├── future_auth_tokenbytes (optional)
│ │ └── userUser
│ │ ├── UserEmpty
│ │ └── User
│ └── terms_of_servicehelp.TermsOfService (optional)
│ └── help.TermsOfService
├── store_productstring
├── phone_code_hashstring
├── support_email_addressstring
├── support_email_subjectstring
├── currencystring
└── amountlong

Example

UpdateSentPhoneCode(
    sent_code=SentCode(
        type=SentCodeTypeApp(length=0),
        phone_code_hash="text"
    ),
)