account.SendConfirmPhoneCode
- class pyrogram.raw.functions.account.SendConfirmPhoneCode
Send confirmation code to cancel account deletion, for more info click here »
- Details:
Layer:
223ID:
1B3FAA88
- Parameters:
hash (
str) – The hash from the service notification, for more info click here »settings (
CodeSettings) – Phone code settings
- Returns:
TL Schema
account.sendConfirmPhoneCode#1b3faa88
hash:string
settings:CodeSettings
= auth.SentCode
Parameter Tree
SendConfirmPhoneCode
├── hash →
string└── settings →
CodeSettings└──
CodeSettings├── allow_flashcall →
true (optional)├── current_number →
true (optional)├── allow_app_hash →
true (optional)├── allow_missed_call →
true (optional)├── allow_firebase →
true (optional)├── unknown_number →
true (optional)├── logout_tokens →
Vector < bytes > (optional)├── token →
string (optional)└── app_sandbox →
Bool (optional)Example
await app.invoke(
SendConfirmPhoneCode(
hash="text",
settings=CodeSettings(
allow_flashcall=None,
current_number=None,
allow_app_hash=None,
allow_missed_call=None,
allow_firebase=None,
unknown_number=None,
logout_tokens=None,
token=None,
app_sandbox=None
),
)
)