mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
15 lines
323 B
JavaScript
15 lines
323 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class UniversalWatchCard {
|
|
type = 'UniversalWatchCard';
|
|
|
|
constructor(data) {
|
|
this.header = Parser.parse(data.header);
|
|
this.call_to_action = Parser.parse(data.callToAction);
|
|
this.sections = Parser.parse(data.sections);
|
|
}
|
|
}
|
|
|
|
module.exports = UniversalWatchCard; |