mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
15 lines
335 B
JavaScript
15 lines
335 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
const NavigationEndpoint = require('./NavigationEndpoint');
|
|
|
|
class DidYouMean {
|
|
type = 'DidYouMean';
|
|
|
|
constructor(data) {
|
|
this.corrected_query = new Text(data.correctedQuery);
|
|
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
|
|
}
|
|
}
|
|
|
|
module.exports = DidYouMean; |