@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
16 lines • 591 B
JavaScript
import { YTNode } from '../helpers.js';
import { NavigationEndpoint } from '../nodes.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