teleproto - v1.233.0
    Preparing search index...

    Type Alias EmailVerificationResult

    EmailVerificationResult:
        | string
        | { code: string; type: "code" }
        | { token: string; type: "google" }
        | { token: string; type: "apple" }

    Result from the email callback: the code as a string, like phoneCode returns it, or a Google / Apple token. { type: "code", code } is still accepted.