@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
13 lines • 416 B
JavaScript
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
class CallToActionButton extends YTNode {
constructor(data) {
super();
this.label = new Text(data.label);
this.icon_type = data.icon.iconType;
this.style = data.style;
}
}
CallToActionButton.type = 'CallToActionButton';
export default CallToActionButton;
//# sourceMappingURL=CallToActionButton.js.map