Type Alias: Message
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Message ID (example: "msg_123") |
sessionId | string | Yes | Session ID (example: "sess_789") |
seq | number | Yes | Per-session sequence number, starting at 1 and gap-free. Use it as the after cursor of the messages route and as the value of If-None-Match when polling. (example: 42) |
type | "user" | "system" | No | Message type: user (transcribed speech) or system (join/leave events) (example: "user") |
participantId | string | No | Participant who spoke (null for system messages) |
externalUserId | string | No | External user ID of the speaker from ODIN (null for system messages) |
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. Only computed when the request includes debugAudio (or on the legacy full-list read); otherwise omitted. |
annotations | MessageAnnotation[] | No | Plugin annotations of this message. Only present when the request includes annotations. |
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/resources/sessions.ts:24