Verify an email address for telegram passport.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.verifyEmail#ecba39db email:string code:string = Bool;
Name | Type | Description |
---|---|---|
string | The email to verify | |
code | string | The verification code that was received |
Code | Type | Description |
---|---|---|
400 | EMAIL_INVALID | The specified email is invalid. |
400 | EMAIL_VERIFY_EXPIRED | The verification email has expired. |