mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 21:13:33 +00:00
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
import Thumbnail from './misc/Thumbnail';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class PlaylistVideoThumbnail extends YTNode {
|
|
static type = 'PlaylistVideoThumbnail';
|
|
|
|
thumbnail: Thumbnail[];
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.thumbnail = Thumbnail.fromResponse(data.thumbnail);
|
|
}
|
|
}
|
|
|
|
export default PlaylistVideoThumbnail; |