Files
YouTube.js/lib/parser/contents/classes/SectionList.js
2022-06-09 14:33:26 -03:00

15 lines
297 B
JavaScript

'use strict';
const Parser = require('..');
class SectionList {
type = 'sectionListRenderer';
constructor(data) {
this.target_id = data.targetId || null;
this.contents = Parser.parse(data.contents);
this.header = Parser.parse(data.header);
}
}
module.exports = SectionList;