Skip to content

MediaSource

MediaSource = { id: string; } | { link: string; }

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

Reference to a media asset, either a previously uploaded media id or a publicly reachable link. Exactly one of the two is expected.

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