innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
12 lines • 477 B
JavaScript
import { YTNode } from '../../helpers.js';
import { Parser } from '../../index.js';
import LiveChatBanner from './items/LiveChatBanner.js';
class AddBannerToLiveChatCommand extends YTNode {
constructor(data) {
super();
this.banner = Parser.parseItem(data.bannerRenderer, LiveChatBanner);
}
}
AddBannerToLiveChatCommand.type = 'AddBannerToLiveChatCommand';
export default AddBannerToLiveChatCommand;
//# sourceMappingURL=AddBannerToLiveChatCommand.js.map