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
| Parameter | Type |
|---|---|
notice | ChatChangedNotice |
Returns
void
chat:denied
chat:denied: (notice: {
conversationId: string;
}) => void;Defined in: shared/chat/realtime.ts:70
Parameters
| Parameter | Type |
|---|---|
notice | { conversationId: string; } |
notice.conversationId | string |
Returns
void
chat:ephemeral
chat:ephemeral: (snapshot: ChatEphemeralSnapshot) => void;Defined in: shared/chat/realtime.ts:69
Parameters
| Parameter | Type |
|---|---|
snapshot | ChatEphemeralSnapshot |
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
| Parameter | Type |
|---|---|
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.conversationId | string |
frame.eventId | string |
frame.joinedVersion | number |
frame.message | { clientRequestId: string; conversationId: string; createdAt: string; id: string; senderActorId: string; sequence: number; text: string; } |
frame.message.clientRequestId | string |
frame.message.conversationId | string |
frame.message.createdAt | string |
frame.message.id | string |
frame.message.senderActorId | string |
frame.message.sequence | number |
frame.message.text | string |
frame.schemaVersion | 1 |
frame.version | number |
Returns
void
chat:reset
chat:reset: (notice: {
conversationId: string;
}) => void;Defined in: shared/chat/realtime.ts:71
Parameters
| Parameter | Type |
|---|---|
notice | { conversationId: string; } |
notice.conversationId | string |
Returns
void
chat:resync
chat:resync: (notice: {
conversationId: string;
}) => void;Defined in: shared/chat/realtime.ts:67
Parameters
| Parameter | Type |
|---|---|
notice | { conversationId: string; } |
notice.conversationId | string |
Returns
void