UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

15 lines 637 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import { Text } from '../misc.js'; import Button from './Button.js'; class VideoDescriptionTranscriptSection extends YTNode { constructor(data) { super(); this.section_title = new Text(data.sectionTitle); this.sub_header_text = new Text(data.subHeaderText); this.primary_button = Parser.parseItem(data.primaryButton, Button); } } VideoDescriptionTranscriptSection.type = 'VideoDescriptionTranscriptSection'; export default VideoDescriptionTranscriptSection; //# sourceMappingURL=VideoDescriptionTranscriptSection.js.map