ColabEventMap
interface ColabEventMap {
change: ColabChangeEvent;
'cnl:config': { config: ColabConfig; senderId: string };
'cnl:create': { config: ColabConfig; senderId: string };
'cnl:delete': { reason?: string; senderId: string };
presence: ColabPresenceEvent;
'user:add': { users: User[] };
'user:del': { senderId: string; users: string[] };
'user:join': { user: User };
'user:left': { userId: string };
'user:mod': { senderId: string; users: User[] };
}
index
Properties
cnl:create
user created channel, event sent to initial users in channel to join call
{ config: ColabConfig; senderId: string; }
cnl:delete
channel deleted
{ reason?: string; senderId: string; }
user:del
call user delete
{ senderId: string; users: string[]; }
user:left
a user left call
{ userId: string; }