fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
43 lines (42 loc) • 881 B
TypeScript
import Base from '../../Base';
import Image from '../Image';
import type Client from '../../Client';
/**
* Represents a fortnite save the world news message
*/
declare class STWNewsMessage extends Base {
/**
* The news message's title
*/
title: string;
/**
* The news message's body
*/
body: string;
/**
* The news message's image
*/
image: Image;
/**
* The news message's type
*/
type: string;
/**
* The news message's adspace
*/
adspace: string;
/**
* Whether the news message is hidden
*/
isHidden: boolean;
/**
* Whether the news message is a spotlight
*/
isSpotlight: boolean;
/**
* @param client The main client
* @param data The news message data
*/
constructor(client: Client, data: any);
}
export default STWNewsMessage;