🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
This commit is contained in:
@@ -62,7 +62,7 @@ export const ApiPreviewInstructions = (props: StackProps) => {
|
||||
lang={'shell'}
|
||||
value={`${parseApiHost(
|
||||
typebot?.customDomain
|
||||
)}/api/v1/sendMessage`}
|
||||
)}/api/v2/sendMessage`}
|
||||
/>
|
||||
<Text>with the following JSON body:</Text>
|
||||
<CodeEditor isReadOnly lang={'json'} value={startParamsBody} />
|
||||
@@ -82,7 +82,7 @@ export const ApiPreviewInstructions = (props: StackProps) => {
|
||||
lang={'shell'}
|
||||
value={`${parseApiHost(
|
||||
typebot?.customDomain
|
||||
)}/api/v1/sendMessage`}
|
||||
)}/api/v2/sendMessage`}
|
||||
/>
|
||||
<Text>With the following JSON body:</Text>
|
||||
<CodeEditor isReadOnly lang={'json'} value={replyBody} />
|
||||
|
||||
Reference in New Issue
Block a user