UNPKG

@duell10111/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube.

19 lines 672 B
import { YTNode } from '../../../helpers.js'; import Author from '../../misc/Author.js'; import Text from '../../misc/Text.js'; export default class LiveChatTickerSponsorItem extends YTNode { static type = 'LiveChatTickerSponsorItem'; id; detail; author; duration_sec; constructor(data) { super(); this.id = data.id; this.detail = new Text(data.detailText); this.author = new Author(data.authorName, data.authorBadges, data.sponsorPhoto, data.authorExternalChannelId); this.duration_sec = data.durationSec; // TODO: Parse remaining props. } } //# sourceMappingURL=LiveChatTickerSponsorItem.js.map