Skip to main content

Interface: ConversationMessage

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

A stored conversation message.

Properties

chatId

chatId: string

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

Chat/conversation ID.


content

content: string

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

Message text content.


createdAt

createdAt: string

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

ISO 8601 creation timestamp.


id?

optional id?: number

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

Auto-increment ID.


platform

platform: string

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

Platform identifier.


role

role: "user" | "assistant"

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

Message role.


toolCalls?

optional toolCalls?: string

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

JSON-serialized tool calls (for context).