@antoniojps/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
13 lines • 489 B
JavaScript
import { YTNode } from '../../helpers.js';
import NavigationEndpoint from '../NavigationEndpoint.js';
export default class MenuServiceItemDownload extends YTNode {
static type = 'MenuServiceItemDownload';
has_separator;
endpoint;
constructor(data) {
super();
this.has_separator = !!data.hasSeparator;
this.endpoint = new NavigationEndpoint(data.navigationEndpoint || data.serviceEndpoint);
}
}
//# sourceMappingURL=MenuServiceItemDownload.js.map