@duell10111/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
17 lines • 670 B
JavaScript
import { YTNode } from '../../../helpers.js';
import { Parser } from '../../../index.js';
import ButtonView from '../../ButtonView.js';
import Text from '../../misc/Text.js';
export default class PdgReplyButtonView extends YTNode {
static type = 'PdgReplyButtonView';
reply_button;
reply_count_entity_key;
reply_count_placeholder;
constructor(data) {
super();
this.reply_button = Parser.parseItem(data.replyButton, ButtonView);
this.reply_count_entity_key = data.replyCountEntityKey;
this.reply_count_placeholder = Text.fromAttributed(data.replyCountPlaceholder);
}
}
//# sourceMappingURL=PdgReplyButtonView.js.map