2
0

Add attachments option to text input (#1608)

Closes #854
This commit is contained in:
Baptiste Arnaud
2024-06-26 10:13:38 +02:00
committed by GitHub
parent 80da7af4f1
commit 6db0464fd7
88 changed files with 2959 additions and 735 deletions

View File

@ -1,6 +1,7 @@
import {
ContinueChatResponse,
CustomEmbedBubble,
Message,
SessionState,
SetVariableHistoryItem,
} from '@typebot.io/schemas'
@ -21,14 +22,7 @@ export type ExecuteIntegrationResponse = {
newSetVariableHistory?: SetVariableHistoryItem[]
} & Pick<ContinueChatResponse, 'clientSideActions' | 'logs'>
type WhatsAppMediaMessage = {
type: 'whatsapp media'
mediaId: string
workspaceId?: string
accessToken: string
}
export type Reply = string | WhatsAppMediaMessage | undefined
export type Reply = Message | undefined
export type ParsedReply =
| { status: 'success'; reply: string }