UNPKG

@imput/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js

14 lines 425 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import Button from './Button.js'; class CopyLink extends YTNode { constructor(data) { super(); this.copy_button = Parser.parseItem(data.copyButton, Button); this.short_url = data.shortUrl; this.style = data.style; } } CopyLink.type = 'CopyLink'; export default CopyLink; //# sourceMappingURL=CopyLink.js.map