mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 21:13:33 +00:00
15 lines
391 B
TypeScript
15 lines
391 B
TypeScript
import type { RawNode } from '../../index.js';
|
|
import { YTNode } from '../../helpers.js';
|
|
|
|
export default class UpdateSubscribeButtonAction extends YTNode {
|
|
static type = 'UpdateSubscribeButtonAction';
|
|
|
|
public channel_id: string;
|
|
public subscribed: boolean;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.channel_id = data.channelId;
|
|
this.subscribed = data.subscribed;
|
|
}
|
|
} |