Skip to content

DocumentMedia

DocumentMedia = MediaSource & object

Defined in: src/types/messages.ts:73

Media payload for document messages. Supports an optional caption and a display filename.

optional caption?: string

optional filename?: string

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.