@steepleinc/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
15 lines • 744 B
JavaScript
import { YTNode } from '../../../helpers.js';
import { Parser } from '../../../index.js';
import LiveChatSponsorshipsHeader from './LiveChatSponsorshipsHeader.js';
class LiveChatSponsorshipsGiftPurchaseAnnouncement extends YTNode {
constructor(data) {
super();
this.id = data.id;
this.timestamp_usec = data.timestampUsec;
this.author_external_channel_id = data.authorExternalChannelId;
this.header = Parser.parseItem(data.header, LiveChatSponsorshipsHeader);
}
}
LiveChatSponsorshipsGiftPurchaseAnnouncement.type = 'LiveChatSponsorshipsGiftPurchaseAnnouncement';
export default LiveChatSponsorshipsGiftPurchaseAnnouncement;
//# sourceMappingURL=LiveChatSponsorshipsGiftPurchaseAnnouncement.js.map