This commit is contained in:
bipproduction
2025-10-21 17:17:56 +08:00
parent e2460bff7c
commit 1fed4cbfbd
2 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
type TYPE = "image" | "video" | "audio" | "file" | "text" | "sticker" | "document"
type TYPE_MESSAGE = "image" | "video" | "audio" | "file" | "text" | "sticker" | "document"
const message = {
"object": "whatsapp_business_account",
"entry": [
@@ -28,7 +28,7 @@ const message = {
"text": {
"body": "halo"
},
"type": "text" as TYPE
"type": "text" as TYPE_MESSAGE
}
]
},