Files
YouTube.js/src/parser/classes/livechat/AddChatItemAction.js
2022-07-20 16:28:51 -03:00

14 lines
318 B
JavaScript

import Parser from '../../index';
import { YTNode } from '../../helpers';
class AddChatItemAction extends YTNode {
static type = 'AddChatItemAction';
constructor(data) {
super();
this.item = Parser.parseItem(data.item);
this.client_id = data.clientId || null;
}
}
export default AddChatItemAction;