mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 11:32:27 +00:00
16 lines
420 B
TypeScript
16 lines
420 B
TypeScript
import { YTNode } from '../helpers.ts';
|
|
import type { RawNode } from '../index.ts';
|
|
import Text from './misc/Text.ts';
|
|
|
|
export default class ThumbnailOverlayInlineUnplayable extends YTNode {
|
|
static type = 'ThumbnailOverlayInlineUnplayable';
|
|
|
|
text: string;
|
|
icon_type: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.text = new Text(data.text).toString();
|
|
this.icon_type = data.icon.iconType;
|
|
}
|
|
} |