mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-15 18:42:11 +00:00
17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import Text from './misc/Text.js';
|
|
import Thumbnail from './misc/Thumbnail.js';
|
|
|
|
export default class ChannelOwnerEmptyState extends YTNode {
|
|
static type = 'ChannelOwnerEmptyState';
|
|
|
|
illustration: Thumbnail[];
|
|
description: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.illustration = Thumbnail.fromResponse(data.illustration);
|
|
this.description = new Text(data.description);
|
|
}
|
|
} |