account.verifyEmail
Verify an email address.
| Name | Type | Required | Description |
|---|---|---|---|
purpose | EmailVerifyPurpose | Yes | Verification purpose |
verification | EmailVerification | Yes | Email verification code or token |
Replies
account.EmailVerified
MTProto RPC
- 400 · CODE_INVALID — Code invalid.
- 400 · EMAIL_INVALID — The specified email is invalid.
- 400 · EMAIL_NOT_ALLOWED — The specified email cannot be used to complete the operation.
- 400 · EMAIL_VERIFY_EXPIRED — The verification email has expired.
- 400 · PHONE_CODE_EXPIRED — The phone code you provided has expired.
- 400 · PHONE_NUMBER_INVALID — The phone number is invalid.