@duell10111/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
13 lines • 385 B
JavaScript
import { YTNode } from '../helpers.js';
import Text from './misc/Text.js';
export default class DynamicTextView extends YTNode {
static type = 'DynamicTextView';
text;
max_lines;
constructor(data) {
super();
this.text = Text.fromAttributed(data.text);
this.max_lines = parseInt(data.maxLines);
}
}
//# sourceMappingURL=DynamicTextView.js.map