account.VerifyEmail
- class pyrogram.raw.functions.account.VerifyEmail
Verify an email address.
- Details:
Layer:
223ID:
32DA4CF
- Parameters:
purpose (
EmailVerifyPurpose) – Verification purposeverification (
EmailVerification) – Email verification code or token
- Returns:
TL Schema
account.verifyEmail#32da4cf
purpose:EmailVerifyPurpose
verification:EmailVerification
= account.EmailVerified
Parameter Tree
VerifyEmail
├── purpose →
EmailVerifyPurpose│ │ ├── phone_number →
string│ │ └── phone_code_hash →
string└── verification →
EmailVerification│ └── code →
string│ └── token →
string└── token →
stringExample
await app.invoke(
VerifyEmail(
purpose=EmailVerifyPurposeLoginSetup(
phone_number="text",
phone_code_hash="text"
),
verification=EmailVerificationCode(code="text"),
)
)