mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
16 lines
329 B
JavaScript
16 lines
329 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
const Parser = require('..');
|
|
|
|
class EmergencyOnebox {
|
|
type = 'EmergencyOnebox';
|
|
|
|
constructor(data) {
|
|
this.title = new Text(data.title);
|
|
this.first_option = Parser.parse(data.firstOption);
|
|
this.menu = Parser.parse(data.menu);
|
|
}
|
|
}
|
|
|
|
module.exports = EmergencyOnebox; |