@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
13 lines • 439 B
JavaScript
import { YTNode } from '../helpers.js';
import Text from './misc/Text.js';
class TranscriptSectionHeader extends YTNode {
constructor(data) {
super();
this.start_ms = data.startMs;
this.end_ms = data.endMs;
this.snippet = new Text(data.snippet);
}
}
TranscriptSectionHeader.type = 'TranscriptSectionHeader';
export default TranscriptSectionHeader;
//# sourceMappingURL=TranscriptSectionHeader.js.map