mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
18 lines
409 B
TypeScript
18 lines
409 B
TypeScript
import Parser from '../index';
|
|
import Text from './misc/Text';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class LiveChatParticipantsList extends YTNode {
|
|
static type = 'LiveChatParticipantsList';
|
|
|
|
title: Text;
|
|
participants;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
this.participants = Parser.parse(data.participants);
|
|
}
|
|
}
|
|
|
|
export default LiveChatParticipantsList; |