feat(chat): add voice message bubbles

This commit is contained in:
2026-06-25 11:13:25 +08:00
parent 038b207964
commit cd836cda43
7 changed files with 233 additions and 3 deletions
@@ -19,6 +19,7 @@ export interface MessageBubbleProps {
content: string;
imageUrl?: string | null;
imagePaywalled?: boolean;
audioUrl?: string | null;
isFromAI: boolean;
lockedPrivate?: boolean | null;
privateMessageHint?: string | null;
@@ -32,6 +33,7 @@ export function MessageBubble({
content,
imageUrl,
imagePaywalled,
audioUrl,
isFromAI,
lockedPrivate,
privateMessageHint,
@@ -51,6 +53,7 @@ export function MessageBubble({
content={content}
imageUrl={imageUrl}
imagePaywalled={imagePaywalled}
audioUrl={audioUrl}
isFromAI={true}
lockedPrivate={lockedPrivate}
privateMessageHint={privateMessageHint}
@@ -71,6 +74,7 @@ export function MessageBubble({
content={content}
imageUrl={imageUrl}
imagePaywalled={imagePaywalled}
audioUrl={audioUrl}
isFromAI={false}
lockedPrivate={lockedPrivate}
privateMessageHint={privateMessageHint}