VoiceMessage
Defined in: packages/react/src/types.ts:13
One chat message in the transcript.
Properties
id
id: string;Defined in: packages/react/src/types.ts:15
Stable id (used as React key + reaction target).
role
role: "eva" | "you" | "tool";Defined in: packages/react/src/types.ts:17
Who said it. tool renders an activity card instead of a bubble.
text
text: string;Defined in: packages/react/src/types.ts:19
Message text (the bubble body).
final?
optional final?: boolean;Defined in: packages/react/src/types.ts:21
When false, the bubble shows a streaming cursor (interim transcription).
reactions?
optional reactions?: Record<string, number>;Defined in: packages/react/src/types.ts:23
Emoji → count, e.g. { "👍": 1 }. Rendered as pills under the bubble.
tool?
optional tool?: VoiceToolActivity;Defined in: packages/react/src/types.ts:25
Present only when role === "tool" — the activity card payload.