fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
19 lines (18 loc) • 573 B
TypeScript
import BaseFriendMessage from './BaseFriendMessage';
import type Friend from './Friend';
/**
* Represents a received friend whisper message
*/
declare class ReceivedFriendMessage extends BaseFriendMessage {
/**
* The message's author
*/
author: Friend;
/**
* 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 ReceivedFriendMessage;