Skip to content

Commit

Permalink
feat(parser): Add NotificationAction node
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Nov 11, 2024
1 parent b0965c7 commit d36ddb8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/parser/classes/NotificationAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { type RawNode } from '../index.js';
import { YTNode } from '../helpers.js';
import { Text } from '../misc.js';

export default class NotificationAction extends YTNode {
static type = 'NotificationAction';

public response_text: Text;

constructor(data: RawNode) {
super();
this.response_text = new Text(data.responseText);
}
}

0 comments on commit d36ddb8

Please sign in to comment.