UNPKG

@imput/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js

16 lines 545 B
import { YTNode } from '../helpers.js'; import Text from './misc/Text.js'; class ChannelHeaderLinksView extends YTNode { constructor(data) { super(); if (Reflect.has(data, 'firstLink')) { this.first_link = Text.fromAttributed(data.firstLink); } if (Reflect.has(data, 'more')) { this.more = Text.fromAttributed(data.more); } } } ChannelHeaderLinksView.type = 'ChannelHeaderLinksView'; export default ChannelHeaderLinksView; //# sourceMappingURL=ChannelHeaderLinksView.js.map