✨ (settings) Add delay between bubbles option and typing disabling on first message
This commit is contained in:
@@ -10,7 +10,13 @@ export const defaultSettings = {
|
||||
isBrandingEnabled: false,
|
||||
isTypingEmulationEnabled: true,
|
||||
},
|
||||
typingEmulation: { enabled: true, speed: 300, maxDelay: 1.5 },
|
||||
typingEmulation: {
|
||||
enabled: true,
|
||||
speed: 400,
|
||||
maxDelay: 3,
|
||||
delayBetweenBubbles: 0,
|
||||
isDisabledOnFirstMessage: true,
|
||||
},
|
||||
metadata: {
|
||||
description:
|
||||
'Build beautiful conversational forms and embed them directly in your applications without a line of code. Triple your response rate and collect answers that has more value compared to a traditional form.',
|
||||
|
||||
@@ -20,6 +20,8 @@ const typingEmulation = z.object({
|
||||
enabled: z.boolean().optional(),
|
||||
speed: z.number().optional(),
|
||||
maxDelay: z.number().optional(),
|
||||
delayBetweenBubbles: z.number().min(0).max(5).optional(),
|
||||
isDisabledOnFirstMessage: z.boolean().optional(),
|
||||
})
|
||||
|
||||
const metadataSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user