UNPKG

fnbr

Version:

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

24 lines (23 loc) 668 B
import BaseMessage from '../BaseMessage'; import type ClientUser from '../user/ClientUser'; import type Friend from './Friend'; /** * Represents a friend whisper message */ declare class BaseFriendMessage extends BaseMessage { /** * The message's content */ content: string; /** * The message's author */ author: Friend | ClientUser; /** * Replies to this whisper message * @param content The message that will be sent * @throws {FriendNotFoundError} The user is not friends with the client */ reply(content: string): Promise<import("./SentFriendMessage").default>; } export default BaseFriendMessage;