Files
YouTube.js/deno/src/parser/classes/DismissableDialogContentSection.ts
2025-07-18 15:25:50 +00:00

17 lines
424 B
TypeScript

import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
import Text from './misc/Text.ts';
export default class DismissableDialogContentSection extends YTNode {
static type = 'DismissableDialogContentSection';
public title: Text;
public subtitle: Text;
constructor(data: RawNode) {
super();
this.title = new Text(data.title);
this.subtitle = new Text(data.subtitle);
}
}