Type Alias: Message
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Message ID (example: "msg_123") |
sessionId | string | Yes | Session ID (example: "sess_789") |
type | "user" | "system" | No | Message type: user (transcribed speech) or system (join/leave events) (example: "user") |
senderName | string | Yes | Sender name (or [System] for system messages) (example: "Alice") |
content | string | Yes | Message content (example: "Hello team!") |
timestamp | string | Yes | Timestamp (example: "2023-10-01T10:05:00Z") |
hasDebugAudio | boolean | No | Whether a debug audio WAV file is available for download |
Defined in
4Players/cortex-typescript-sdk/src/resources/sessions.ts:22