@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
13 lines • 462 B
JavaScript
import Thumbnail from './misc/Thumbnail.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import { YTNode } from '../helpers.js';
class BackstageImage extends YTNode {
constructor(data) {
super();
this.image = Thumbnail.fromResponse(data.image);
this.endpoint = new NavigationEndpoint(data.command);
}
}
BackstageImage.type = 'BackstageImage';
export default BackstageImage;
//# sourceMappingURL=BackstageImage.js.map