interface IUnreadMessage { rid: string; count: number; message: Message; } type ChatLogMap = { [key: string]: ChatLog }; class ChatsLogComponent implements absSpartan.IRoomAccessListenerImp { private chatListeners = new Array<(param) => void>(); public addOnChatListener(listener) { this.chatListeners.push(listener); } onChat(dataEvent) { console.log("ChatsLogComponent.onChat"); //