@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
14 lines • 447 B
JavaScript
import { Parser } from '../../index.js';
import { YTNode } from '../../helpers.js';
class AddChatItemAction extends YTNode {
constructor(data) {
super();
this.item = Parser.parseItem(data.item);
if (Reflect.has(data, 'clientId')) {
this.client_id = data.clientId;
}
}
}
AddChatItemAction.type = 'AddChatItemAction';
export default AddChatItemAction;
//# sourceMappingURL=AddChatItemAction.js.map