Type Alias ThirdPartyLoginIdentifier

ThirdPartyLoginIdentifier: {
    address: string;
    medium: string;
    type: "m.id.thirdparty";
}

A client can identify a user using a 3PID associated with the user’s account on the homeserver, where the 3PID was previously associated using the /account/3pid API. See the 3PID Types Appendix for a list of Third-party ID media.