UNPKG

innertuber-rn

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

16 lines 708 B
import { YTNode } from '../helpers.js'; import { Text } from '../misc.js'; class ExpandableVideoDescriptionBody extends YTNode { constructor(data) { var _a; super(); this.show_more_text = new Text(data.showMoreText); this.show_less_text = new Text(data.showLessText); if (Reflect.has(data, 'attributedDescriptionBodyText')) { this.attributed_description_body_text = (_a = data.attributedDescriptionBodyText) === null || _a === void 0 ? void 0 : _a.content; } } } ExpandableVideoDescriptionBody.type = 'ExpandableVideoDescriptionBody'; export default ExpandableVideoDescriptionBody; //# sourceMappingURL=ExpandableVideoDescriptionBody.js.map