2
0

(api) Add textBubbleContentFormat option

Closes #1111
This commit is contained in:
Baptiste Arnaud
2024-05-23 16:30:56 +02:00
parent 3031d26f03
commit c53ce349af
22 changed files with 155 additions and 37 deletions

View File

@@ -12,6 +12,7 @@ type Props = {
isStreamEnabled: boolean
prefilledVariables?: Record<string, unknown>
resultId?: string
textBubbleContentFormat: 'richText' | 'markdown'
}
export const startChat = async ({
@@ -22,6 +23,7 @@ export const startChat = async ({
isStreamEnabled,
prefilledVariables,
resultId: startResultId,
textBubbleContentFormat,
}: Props) => {
const {
typebot,
@@ -43,6 +45,7 @@ export const startChat = async ({
publicId,
prefilledVariables,
resultId: startResultId,
textBubbleContentFormat,
},
message,
})