WhatsApp PDF caption vs filename

299 views
Skip to first unread message

Morgan Collett

unread,
Sep 16, 2021, 1:01:43 PM9/16/21
to rapidpro-dev
When I send a PDF as an attachment over WhatsApp, text is required in the body of the message, which seems to be for the filename:

image.png

However, the PDF displays on both iPhone and Android with a "." as the caption:

image.png

The channel log shows this as the message sent:

{"to":"_______","type":"document","document":{"id":"____","caption":"Brochure1.pdf","filename":"."}}

I've tried this with both an uploaded PDF and a link to a PDF.

Other platforms seem to be able to get this right - how do I add the message content to the filename?

Thanks
Morgan

Reply all
Reply to author
Forward
0 new messages