mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
16 lines
338 B
JavaScript
16 lines
338 B
JavaScript
'use strict';
|
|
|
|
const NavigationEndpoint = require('./NavigationEndpoint');
|
|
|
|
class DownloadButton {
|
|
type = 'DownloadButton';
|
|
|
|
constructor(data) {
|
|
this.style = data.style;
|
|
this.size = data.size;
|
|
this.endpoint = new NavigationEndpoint(data.command);
|
|
this.target_id = data.targetId;
|
|
}
|
|
}
|
|
|
|
module.exports = DownloadButton; |