friend-connect
Version:
**BEFORE YOU USE THIS TOOL, PLEASE READ THE FOLLOWING: WE _AS CONTRIBUTORS_ ARE NOT RESPONSIBLE FOR ANY DAMAGE OR LOSS CAUSED BY THIS APP. USE AN ALT ACCOUNT, JUST IN CASE THERE IS AN ISSUE WITH THIS METHOD.**
14 lines (13 loc) • 604 B
TypeScript
import { XboxClient } from "../index";
import { UserIdentifier } from "../types";
import { Person, PersonSummary, PeopleList } from "../xboxRestTypes";
export default class Social {
private readonly xbox;
static readonly uri: string;
constructor(xboxLiveClient: XboxClient);
getFriends(): Promise<PeopleList>;
addFriend(identifier: UserIdentifier): Promise<Response>;
removeFriend(identifier: UserIdentifier): Promise<Response>;
getProfile(identifier: UserIdentifier): Promise<Person>;
getProfileSummary(identifier: UserIdentifier): Promise<PersonSummary>;
}