mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
refactor(parser)!: Implement endpoint/command parsers (#812)
This commit is contained in:
14
src/parser/classes/DialogHeaderView.ts
Normal file
14
src/parser/classes/DialogHeaderView.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { YTNode } from '../helpers.js';
|
||||
import { type RawNode } from '../index.js';
|
||||
import { Text } from '../misc.js';
|
||||
|
||||
export default class DialogHeaderView extends YTNode {
|
||||
static type = 'DialogHeaderView';
|
||||
|
||||
public headline: Text;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.headline = Text.fromAttributed(data.headline);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user