mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
21 lines
526 B
TypeScript
21 lines
526 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
|
|
class PlayerLegacyDesktopYpcOffer extends YTNode {
|
|
static type = 'PlayerLegacyDesktopYpcOffer';
|
|
|
|
title: string;
|
|
thumbnail: string;
|
|
offer_description: string;
|
|
offer_id: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = data.itemTitle;
|
|
this.thumbnail = data.itemThumbnail;
|
|
this.offer_description = data.offerDescription;
|
|
this.offer_id = data.offerId;
|
|
}
|
|
}
|
|
|
|
export default PlayerLegacyDesktopYpcOffer; |