@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
14 lines • 553 B
JavaScript
import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import LiveChatParticipant from './LiveChatParticipant.js';
import Text from './misc/Text.js';
class LiveChatParticipantsList extends YTNode {
constructor(data) {
super();
this.title = new Text(data.title);
this.participants = Parser.parseArray(data.participants, LiveChatParticipant);
}
}
LiveChatParticipantsList.type = 'LiveChatParticipantsList';
export default LiveChatParticipantsList;
//# sourceMappingURL=LiveChatParticipantsList.js.map