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