mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 11:32:27 +00:00
16 lines
496 B
TypeScript
16 lines
496 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
import Button from './Button.js';
|
|
|
|
export default class LiveChatItemList extends YTNode {
|
|
static type = 'LiveChatItemList';
|
|
|
|
max_items_to_display: string;
|
|
more_comments_below_button: Button | null;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.max_items_to_display = data.maxItemsToDisplay;
|
|
this.more_comments_below_button = Parser.parseItem(data.moreCommentsBelowButton, Button);
|
|
}
|
|
} |