refactor: improve live chat polling (#220)

* dev: add RemoveChatItemByAuthorAction renderer parser

* dev: improve live chat polling
This commit is contained in:
LuanRT
2022-10-12 16:16:07 -03:00
committed by GitHub
parent 477c030084
commit 1b2862c00f
3 changed files with 78 additions and 67 deletions

View File

@@ -0,0 +1,14 @@
import { YTNode } from '../../helpers';
class RemoveChatItemByAuthorAction extends YTNode {
static type = 'RemoveChatItemByAuthorAction';
external_channel_id: string;
constructor(data: any) {
super();
this.external_channel_id = data.externalChannelId;
}
}
export default RemoveChatItemByAuthorAction;