account.verifyEmail

Verify an email address for telegram passport.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.verifyEmail#ecba39db email:string code:string = Bool;

Parameters

Name Type Description
email string The email to verify
code string The verification code that was received

Result

Bool

Possible errors

Code Type Description
400 EMAIL_VERIFY_EXPIRED The verification email has expired

Related pages

Telegram Passport Manual