@antoniojps/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
16 lines • 480 B
JavaScript
import Text from './misc/Text.js';
import * as Parser from '../parser.js';
import { YTNode } from '../helpers.js';
export default class GuideSection extends YTNode {
static type = 'GuideSection';
title;
items;
constructor(data) {
super();
if (Reflect.has(data, 'formattedTitle')) {
this.title = new Text(data.formattedTitle);
}
this.items = Parser.parseArray(data.items);
}
}
//# sourceMappingURL=GuideSection.js.map