mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 04:51:16 +00:00
14 lines
353 B
TypeScript
14 lines
353 B
TypeScript
import Thumbnail from './misc/Thumbnail.ts';
|
|
import { YTNode } from '../helpers.ts';
|
|
import type { RawNode } from '../index.ts';
|
|
|
|
export default class MusicThumbnail extends YTNode {
|
|
static type = 'MusicThumbnail';
|
|
|
|
contents: Thumbnail[];
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Thumbnail.fromResponse(data.thumbnail);
|
|
}
|
|
} |