tambahannya

This commit is contained in:
bipproduction
2025-10-23 17:36:07 +08:00
parent fede1ff67e
commit 5a7fb5a7fe

View File

@@ -253,7 +253,7 @@ const WaHookRoute = new Elysia({
}
if (webhook[0]?.type === WhatsAppMessageType.IMAGE) {
if (webhook[0]?.type === WhatsAppMessageType.IMAGE || webhook[0]?.type === WhatsAppMessageType.DOCUMENT || webhook[0]?.type === WhatsAppMessageType.STICKER) {
const messageQuestion = webhook[0]?.text;
const from = webhook[0]?.from;
const name = webhook[0].contact?.name;