mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
import Parser from '../index';
|
|
import Text from './misc/Text';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class ChannelFeaturedContent extends YTNode {
|
|
static type = 'ChannelFeaturedContent';
|
|
|
|
constructor(data) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
this.items = Parser.parse(data.items);
|
|
}
|
|
}
|
|
|
|
export default ChannelFeaturedContent; |