mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-13 21:02:56 +08:00
🐛 (whatsapp) Add "unsupported" incoming message type
This commit is contained in:
parent
fc6a2ae5ce
commit
bbb90b529b
@ -149,6 +149,9 @@ export const incomingMessageSchema = z.discriminatedUnion("type", [
|
||||
emoji: z.string().optional(),
|
||||
}),
|
||||
}),
|
||||
sharedIncomingMessageFieldsSchema.extend({
|
||||
type: z.literal("unsupported"),
|
||||
}),
|
||||
]);
|
||||
|
||||
const incomingErrors = z.object({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user