diff --git a/src/parser/classes/NotificationAction.ts b/src/parser/classes/NotificationAction.ts new file mode 100644 index 000000000..3f2d08d51 --- /dev/null +++ b/src/parser/classes/NotificationAction.ts @@ -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); + } +} \ No newline at end of file