UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

19 lines (18 loc) 714 B
import BasePartyJoinRequest from './BasePartyJoinRequest'; import type ClientUser from '../user/ClientUser'; import type Friend from '../friend/Friend'; /** * Represents an incoming party join request */ declare class ReceivedPartyJoinRequest extends BasePartyJoinRequest { receiver: ClientUser; sender: Friend; /** * Accepts the join request. If it expired, a normal invite will be sent * @throws {PartyAlreadyJoinedError} The user is already a member of this party * @throws {PartyMaxSizeReachedError} The party reached its max size * @throws {EpicgamesAPIError} */ accept(): Promise<import("./SentPartyInvitation").default>; } export default ReceivedPartyJoinRequest;