UNPKG

@duell10111/youtubei.js

Version:

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

21 lines 839 B
import { YTNode } from '../../../helpers.js'; import { Parser } from '../../../index.js'; import Text from '../../misc/Text.js'; import ToggleButtonView from '../../ToggleButtonView.js'; export default class LiveChatBannerChatSummary extends YTNode { static type = 'LiveChatBannerChatSummary'; id; chat_summary; icon_type; like_feedback_button; dislike_feedback_button; constructor(data) { super(); this.id = data.liveChatSummaryId; this.chat_summary = new Text(data.chatSummary); this.icon_type = data.icon.iconType; this.like_feedback_button = Parser.parseItem(data.likeFeedbackButton, ToggleButtonView); this.dislike_feedback_button = Parser.parseItem(data.dislikeFeedbackButton, ToggleButtonView); } } //# sourceMappingURL=LiveChatBannerChatSummary.js.map