[GH-ISSUE #65] WEBHOOK, Send Text Only = OK, Document Only = OK, but Document + Text = Both NULL #48

Closed
opened 2026-02-27 10:23:58 +03:00 by kerem · 2 comments
Owner

Originally created by @ranggasenjari on GitHub (Jun 6, 2025).
Original GitHub issue: https://github.com/mimamch/wa-gateway/issues/65

This is what I received on the webhook endpoint, it shows the text and document elements are null when I send a document with a caption.

"body": { "session": "notif", "from": "62000000000@s.whatsapp.net", "message": null, "media": { "image": null, "video": null, "document": null, "audio": null }

Originally created by @ranggasenjari on GitHub (Jun 6, 2025). Original GitHub issue: https://github.com/mimamch/wa-gateway/issues/65 This is what I received on the webhook endpoint, it shows the text and document elements are null when I send a document with a caption. ` "body": { "session": "notif", "from": "62000000000@s.whatsapp.net", "message": null, "media": { "image": null, "video": null, "document": null, "audio": null }`
kerem closed this issue 2026-02-27 10:23:58 +03:00
Author
Owner

@mdestafadilah commented on GitHub (Jun 8, 2025):

This is what I received on the webhook endpoint, it shows the text and document elements are null when I send a document with a caption.

"body": { "session": "notif", "from": "62000000000@s.whatsapp.net", "message": null, "media": { "image": null, "video": null, "document": null, "audio": null }

what's your endpoint? i will test too

<!-- gh-comment-id:2954284282 --> @mdestafadilah commented on GitHub (Jun 8, 2025): > This is what I received on the webhook endpoint, it shows the text and document elements are null when I send a document with a caption. > > ` "body": { "session": "notif", "from": "62000000000@s.whatsapp.net", "message": null, "media": { "image": null, "video": null, "document": null, "audio": null }` what's your endpoint? i will test too
Author
Owner

@rhosadac commented on GitHub (Jun 28, 2025):

its all oke.
but document not include file extension

body.media.document = id
without file extension

<!-- gh-comment-id:3015232285 --> @rhosadac commented on GitHub (Jun 28, 2025): its all oke. but document not include file extension body.media.document = id without file extension
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-gateway-mimamch#48
No description provided.