Kaizen
Browse modulesChatchat/serverInterfaces

Interface: ChatServerEvents

Defined in: shared/chat/realtime.ts:65

Properties

chat:changed

chat:changed: (notice: ChatChangedNotice) => void;

Defined in: shared/chat/realtime.ts:68

Parameters

ParameterType
noticeChatChangedNotice

Returns

void


chat:denied

chat:denied: (notice: {
  conversationId: string;
}) => void;

Defined in: shared/chat/realtime.ts:70

Parameters

ParameterType
notice{ conversationId: string; }
notice.conversationIdstring

Returns

void


chat:ephemeral

chat:ephemeral: (snapshot: ChatEphemeralSnapshot) => void;

Defined in: shared/chat/realtime.ts:69

Parameters

ParameterType
snapshotChatEphemeralSnapshot

Returns

void


chat:message

chat:message: (frame: {
  conversationId: string;
  eventId: string;
  joinedVersion: number;
  message: {
     clientRequestId: string;
     conversationId: string;
     createdAt: string;
     id: string;
     senderActorId: string;
     sequence: number;
     text: string;
  };
  schemaVersion: 1;
  version: number;
}) => void;

Defined in: shared/chat/realtime.ts:66

Parameters

ParameterType
frame{ conversationId: string; eventId: string; joinedVersion: number; message: { clientRequestId: string; conversationId: string; createdAt: string; id: string; senderActorId: string; sequence: number; text: string; }; schemaVersion: 1; version: number; }
frame.conversationIdstring
frame.eventIdstring
frame.joinedVersionnumber
frame.message{ clientRequestId: string; conversationId: string; createdAt: string; id: string; senderActorId: string; sequence: number; text: string; }
frame.message.clientRequestIdstring
frame.message.conversationIdstring
frame.message.createdAtstring
frame.message.idstring
frame.message.senderActorIdstring
frame.message.sequencenumber
frame.message.textstring
frame.schemaVersion1
frame.versionnumber

Returns

void


chat:reset

chat:reset: (notice: {
  conversationId: string;
}) => void;

Defined in: shared/chat/realtime.ts:71

Parameters

ParameterType
notice{ conversationId: string; }
notice.conversationIdstring

Returns

void


chat:resync

chat:resync: (notice: {
  conversationId: string;
}) => void;

Defined in: shared/chat/realtime.ts:67

Parameters

ParameterType
notice{ conversationId: string; }
notice.conversationIdstring

Returns

void

On this page