account.VerifyPhone
- class pyrogram.raw.functions.account.VerifyPhone
Verify a phone number for telegram passport.
- Details:
Layer:
223ID:
4DD3A7F6
- Parameters:
phone_number (
str) – Phone numberphone_code_hash (
str) – Phone code hash received from the call to account.sendVerifyPhoneCodephone_code (
str) – Code received after the call to account.sendVerifyPhoneCode
- Returns:
bool
TL Schema
account.verifyPhone#4dd3a7f6
phone_number:string
phone_code_hash:string
phone_code:string
= Bool
Parameter Tree
VerifyPhone
├── phone_number →
string├── phone_code_hash →
string└── phone_code →
stringExample
await app.invoke(
VerifyPhone(
phone_number="text",
phone_code_hash="text",
phone_code="text",
)
)