UNPKG

@fnlb-project/fnbr

Version:

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

28 lines (27 loc) 1.05 kB
import BasePartyInvitation from './BasePartyInvitation'; import type ClientUser from '../user/ClientUser'; import type Friend from '../friend/Friend'; import type Client from '../../Client'; import type Party from './Party'; import type ClientParty from './ClientParty'; /** * Represents a sent party invitation */ declare class SentPartyInvitation extends BasePartyInvitation { sender: ClientUser; receiver: Friend; /** * @param client The main client * @param party The party this invitation belongs to * @param sender The friend (or the client user) who sent this invitation * @param receiver The friend (or the client user) who received this invitation * @param data The invitation data */ constructor(client: Client, party: Party | ClientParty, sender: ClientUser, receiver: Friend, data: any); /** * Declines this invitation * @throws {PartyInvitationExpiredError} The invitation already got accepted or declined */ abort(): Promise<void>; } export default SentPartyInvitation;