mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
15 lines
365 B
JavaScript
15 lines
365 B
JavaScript
'use strict';
|
|
|
|
const Text = require('../Text');
|
|
|
|
class UpdateToggleButtonTextAction {
|
|
type = 'UpdateToggleButtonTextAction';
|
|
|
|
constructor(data) {
|
|
this.default_text = new Text(data.defaultText).toString();
|
|
this.toggled_text = new Text(data.toggledText).toString();
|
|
this.button_id = data.buttonId;
|
|
}
|
|
}
|
|
|
|
module.exports = UpdateToggleButtonTextAction; |