feat(parser): Add NotificationAction node

This commit is contained in:
Luan
2024-11-11 16:20:36 -03:00
parent b0965c7ac9
commit d36ddb804a

View File

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