feat(parser): Add ChangeEngagementPanelVisibilityAction

This commit is contained in:
Luan
2024-11-25 05:33:49 -03:00
parent 790f8172fc
commit c2b2d7ad52
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { YTNode } from '../../helpers.js';
import type { RawNode } from '../../index.js';
export default class ChangeEngagementPanelVisibilityAction extends YTNode {
static type = 'ChangeEngagementPanelVisibilityAction';
public target_id: string;
public visibility: string;
constructor(data: RawNode) {
super();
this.target_id = data.targetId;
this.visibility = data.visibility;
}
}