UNPKG

@imput/youtubei.js

Version:

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

17 lines 634 B
import { YTNode } from '../helpers.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; class FeedNudge extends YTNode { constructor(data) { super(); this.title = new Text(data.title); this.subtitle = new Text(data.subtitle); this.endpoint = new NavigationEndpoint(data.impressionEndpoint); this.apply_modernized_style = data.applyModernizedStyle; this.trim_style = data.trimStyle; this.background_style = data.backgroundStyle; } } FeedNudge.type = 'FeedNudge'; export default FeedNudge; //# sourceMappingURL=FeedNudge.js.map