Currently, PDF, DOCX, and other similar document types are handled in special ways in the official WhatsApp client, and are given thumbnail previews, page counts, etc. This ticket covers full support for these additional forms of metadata.
Slidge is moving away from sourcehut. For updates on this issue, visit codeberg.
nicoco referenced this ticket in commit d125a92.