Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.09 KB

File metadata and controls

27 lines (15 loc) · 1.09 KB

CreateInboxConversationRequestHeaderMedia

WhatsApp only. Overrides a media-header template's header asset for THIS send, so a template with an image/video/document header can carry a different asset per message (e.g. each recipient their own invoice PDF). Without it, the template's approved sample asset is sent. Provide exactly one of link or id.

Properties

Name Type Description Notes
type TypeEnum Must match the template header's media type.
link String Public URL of the asset to send. Must be reachable without auth. [optional]
id String A Meta media id (from the media upload endpoint), as an alternative to link. [optional]
filename String Document display name shown to the recipient (e.g. "Factura 0001-123.pdf"). document type only; ignored for image/video. [optional]

Enum: TypeEnum

Name Value
IMAGE "image"
VIDEO "video"
DOCUMENT "document"