UNPKG

fnbr

Version:

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

28 lines (27 loc) 788 B
import type { SentMessageType } from '../../resources/structs'; import type ClientParty from '../structures/party/ClientParty'; import type Friend from '../structures/friend/Friend'; /** * Represents an error thrown because a user does not exist */ declare class SendMessageError extends Error { /** * The message related to this error */ message: string; /** * The message's type */ type: string; /** * The message's target */ target: Friend | ClientParty; /** * @param message The message related to this error * @param type The message's type * @param target The message's target */ constructor(message: string, type: SentMessageType, target: Friend | ClientParty); } export default SendMessageError;