account.ConfirmPhone
- class pyrogram.raw.functions.account.ConfirmPhone
Confirm a phone number to cancel account deletion, for more info click here »
- Details:
Layer:
223ID:
5F2178C3
- Parameters:
phone_code_hash (
str) – Phone code hash, for more info click here »phone_code (
str) – SMS code, for more info click here »
- Returns:
bool
TL Schema
account.confirmPhone#5f2178c3
phone_code_hash:string
phone_code:string
= Bool
Parameter Tree
ConfirmPhone
├── phone_code_hash →
string└── phone_code →
stringExample
await app.invoke(
ConfirmPhone(
phone_code_hash="text",
phone_code="text",
)
)