🐛 (whatsapp) Add "unsupported" incoming message type

This commit is contained in:
Baptiste Arnaud 2025-02-17 15:16:46 +01:00
parent fc6a2ae5ce
commit bbb90b529b
No known key found for this signature in database

View File

@ -149,6 +149,9 @@ export const incomingMessageSchema = z.discriminatedUnion("type", [
emoji: z.string().optional(),
}),
}),
sharedIncomingMessageFieldsSchema.extend({
type: z.literal("unsupported"),
}),
]);
const incomingErrors = z.object({