UpdateSentPhoneCode
- class pyrogram.raw.types.UpdateSentPhoneCode
A paid login SMS code was successfully sent.
Constructor of
Update.- Details:
Layer:
223ID:
504AA18F
- Parameters:
sent_code (
auth.SentCode) – Info about the sent code.
TL Schema
updateSentPhoneCode#504aa18f
sent_code:auth.SentCode
= Update
Parameter Tree
UpdateSentPhoneCode
└── sent_code →
auth.SentCode├──
auth.SentCode│ ├── type →
auth.SentCodeType│ │ ├──
auth.SentCodeTypeApp│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeSms│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeCall│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeFlashCall│ │ │ └── pattern →
string│ │ ├──
auth.SentCodeTypeMissedCall│ │ │ ├── prefix →
string│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeEmailCode│ │ │ ├── apple_signin_allowed →
true (optional)│ │ │ ├── google_signin_allowed →
true (optional)│ │ │ ├── email_pattern →
string│ │ │ ├── length →
int│ │ │ ├── reset_available_period →
int (optional)│ │ │ └── reset_pending_date →
int (optional)│ │ │ ├── apple_signin_allowed →
true (optional)│ │ │ └── google_signin_allowed →
true (optional)│ │ ├──
auth.SentCodeTypeFragmentSms│ │ │ ├── url →
string│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeFirebaseSms│ │ │ ├── nonce →
bytes (optional)│ │ │ ├── play_integrity_project_id →
long (optional)│ │ │ ├── play_integrity_nonce →
bytes (optional)│ │ │ ├── receipt →
string (optional)│ │ │ ├── push_timeout →
int (optional)│ │ │ └── length →
int│ │ ├──
auth.SentCodeTypeSmsWord│ │ │ └── beginning →
string (optional)│ │ └──
auth.SentCodeTypeSmsPhrase│ │ └── beginning →
string (optional)│ ├── phone_code_hash →
string│ ├── next_type →
auth.CodeType (optional)│ │ ├──
auth.CodeTypeSms│ │ ├──
auth.CodeTypeCall│ │ ├──
auth.CodeTypeFlashCall│ │ ├──
auth.CodeTypeMissedCall│ │ └──
auth.CodeTypeFragmentSms│ └── timeout →
int (optional)│ └── authorization →
auth.Authorization│ ├──
auth.Authorization│ │ ├── setup_password_required →
true (optional)│ │ ├── otherwise_relogin_days →
int (optional)│ │ ├── tmp_sessions →
int (optional)│ │ ├── future_auth_token →
bytes (optional)│ │ └── user →
User│ │ ├──
UserEmpty│ │ └──
User│ └── terms_of_service →
help.TermsOfService (optional)│ └──
help.TermsOfService├── store_product →
string├── phone_code_hash →
string├── support_email_address →
string├── support_email_subject →
string├── currency →
string└── amount →
longExample
UpdateSentPhoneCode(
sent_code=SentCode(
type=SentCodeTypeApp(length=0),
phone_code_hash="text"
),
)