Skip to main content

Interface: ConversationMessage

Defined in: .source/wunderland/src/channels/chat/types.ts:67

A stored conversation message.

Properties​

chatId​

chatId: string

Defined in: .source/wunderland/src/channels/chat/types.ts:71

Chat/conversation ID.


content​

content: string

Defined in: .source/wunderland/src/channels/chat/types.ts:77

Message text content.


createdAt​

createdAt: string

Defined in: .source/wunderland/src/channels/chat/types.ts:81

ISO 8601 creation timestamp.


id?​

optional id?: number

Defined in: .source/wunderland/src/channels/chat/types.ts:69

Auto-increment ID.


platform​

platform: string

Defined in: .source/wunderland/src/channels/chat/types.ts:73

Platform identifier.


role​

role: "user" | "assistant"

Defined in: .source/wunderland/src/channels/chat/types.ts:75

Message role.


toolCalls?​

optional toolCalls?: string

Defined in: .source/wunderland/src/channels/chat/types.ts:79

JSON-serialized tool calls (for context).