mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
21 lines
468 B
JavaScript
21 lines
468 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
|
|
class MusicDescriptionShelf {
|
|
type = 'MusicDescriptionShelf';
|
|
|
|
constructor(data) {
|
|
this.description = new Text(data.description);
|
|
|
|
this.max_collapsed_lines &&
|
|
(this.max_collapsed_lines = data.maxCollapsedLines);
|
|
|
|
this.max_expanded_lines &&
|
|
(this.max_expanded_lines = data.maxExpandedLines);
|
|
|
|
this.footer = new Text(data.footer);
|
|
}
|
|
}
|
|
|
|
module.exports = MusicDescriptionShelf; |