@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
18 lines • 661 B
JavaScript
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
class MusicDescriptionShelf extends YTNode {
constructor(data) {
super();
this.description = new Text(data.description);
if (Reflect.has(data, 'maxCollapsedLines')) {
this.max_collapsed_lines = data.maxCollapsedLines;
}
if (Reflect.has(data, 'maxExpandedLines')) {
this.max_expanded_lines = data.maxExpandedLines;
}
this.footer = new Text(data.footer);
}
}
MusicDescriptionShelf.type = 'MusicDescriptionShelf';
export default MusicDescriptionShelf;
//# sourceMappingURL=MusicDescriptionShelf.js.map