UNPKG

fnbr

Version:

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

18 lines (17 loc) 650 B
import BasePendingFriend from './BasePendingFriend'; import type { PendingFriendData } from '../../../resources/structs'; import type Client from '../../Client'; /** * Represents an outgoing pending friendship request */ declare class OutgoingPendingFriend extends BasePendingFriend { constructor(client: Client, data: PendingFriendData); /** * Cancels this outgoing pending friend request * @throws {UserNotFoundError} The user wasn't found * @throws {FriendNotFoundError} The user is not friends with the client * @throws {EpicgamesAPIError} */ abort(): Promise<void>; } export default OutgoingPendingFriend;