Skip to main content

Type Alias: Message

type Message: components["schemas"]["Message"];

Properties

PropertyTypeRequiredDescription
idstringYesMessage ID (example: "msg_123")
sessionIdstringYesSession ID (example: "sess_789")
type"user" | "system"NoMessage type: user (transcribed speech) or system (join/leave events) (example: "user")
senderNamestringYesSender name (or [System] for system messages) (example: "Alice")
contentstringYesMessage content (example: "Hello team!")
timestampstringYesTimestamp (example: "2023-10-01T10:05:00Z")
hasDebugAudiobooleanNoWhether a debug audio WAV file is available for download

Defined in

4Players/cortex-typescript-sdk/src/resources/sessions.ts:22