fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
48 lines (47 loc) • 1.09 kB
TypeScript
import Base from '../Base';
import type Client from '../Client';
import type { NewsMessageVideoData } from '../../resources/structs';
/**
* Represents a fortnite news message video
*/
declare class NewsMessageVideo extends Base {
/**
* The video's id
*/
id: string;
/**
* Whether the video should autoplay
*/
autoplay: boolean;
/**
* Whether the video should be fullscreen
*/
fullscreen: boolean;
/**
* Whether the video should loop
*/
loop: boolean;
/**
* Whether the video is muted
*/
mute: boolean;
/**
* Whether the video has streaming enabled
*/
streamingEnabled: boolean;
/**
* The video's string
*/
videoString: string;
/**
* @param client The main client
* @param data The news message video data
*/
constructor(client: Client, data: NewsMessageVideoData);
/**
* Downloads the video
* @throws {AxiosError}
*/
download(): Promise<import("../../resources/structs").BlurlStream>;
}
export default NewsMessageVideo;