mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
17 lines
390 B
TypeScript
17 lines
390 B
TypeScript
import Parser from '../index';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class PlaylistSidebarSecondaryInfo extends YTNode {
|
|
static type = 'PlaylistSidebarSecondaryInfo';
|
|
|
|
owner;
|
|
button;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.owner = Parser.parse(data.videoOwner) || null;
|
|
this.button = Parser.parse(data.button) || null;
|
|
}
|
|
}
|
|
|
|
export default PlaylistSidebarSecondaryInfo; |