mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 11:32:27 +00:00
17 lines
391 B
TypeScript
17 lines
391 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import Text from './misc/Text.js';
|
|
|
|
export default class AttributionView extends YTNode {
|
|
static type = 'AttributionView';
|
|
|
|
text: Text;
|
|
suffix: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
|
|
this.text = Text.fromAttributed(data.text);
|
|
this.suffix = Text.fromAttributed(data.suffix);
|
|
}
|
|
} |