Files
YouTube.js/src/parser/classes/LiveChatItemList.ts

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);
}
}