diff --git a/src/parser/classes/EngagementPanelTitleHeader.ts b/src/parser/classes/EngagementPanelTitleHeader.ts index 6c6b0d7ea..e8a0cf65f 100644 --- a/src/parser/classes/EngagementPanelTitleHeader.ts +++ b/src/parser/classes/EngagementPanelTitleHeader.ts @@ -6,12 +6,16 @@ import Button from './Button.js'; export default class EngagementPanelTitleHeader extends YTNode { static type = 'EngagementPanelTitleHeader'; - title: Text; - visibility_button: Button | null; + public title: Text; + public visibility_button: Button | null; + public contextual_info?: Text; + public menu: YTNode | null; constructor(data: RawNode) { super(); this.title = new Text(data.title); + this.contextual_info = data.contextualInfo ? new Text(data.contextualInfo) : undefined; this.visibility_button = Parser.parseItem(data.visibilityButton, Button); + this.menu = Parser.parseItem(data.menu); } } \ No newline at end of file