mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 03:22:15 +00:00
17 lines
439 B
TypeScript
17 lines
439 B
TypeScript
import { YTNode } from '../helpers';
|
|
import Thumbnail from './misc/Thumbnail';
|
|
|
|
class ThumbnailLandscapePortrait extends YTNode {
|
|
static type = 'ThumbnailLandscapePortrait';
|
|
|
|
landscape: Thumbnail[];
|
|
portrait: Thumbnail[];
|
|
|
|
constructor (data: any) {
|
|
super();
|
|
this.landscape = Thumbnail.fromResponse(data.landscape);
|
|
this.portrait = Thumbnail.fromResponse(data.portrait);
|
|
}
|
|
}
|
|
|
|
export default ThumbnailLandscapePortrait; |