WebhookMessageReferral
Defined in: src/types/webhooks.ts:72
Click to WhatsApp ad attribution, present on a message sent via an ad.
Properties
Section titled “Properties”
optionalbody?:string
Defined in: src/types/webhooks.ts:80
The ad primary text.
ctwa_clid?
Section titled “ctwa_clid?”
optionalctwa_clid?:string
Defined in: src/types/webhooks.ts:92
The ad click ID. Omitted for WhatsApp Status ad placements.
headline?
Section titled “headline?”
optionalheadline?:string
Defined in: src/types/webhooks.ts:82
The ad headline.
image_url?
Section titled “image_url?”
optionalimage_url?:string
Defined in: src/types/webhooks.ts:86
The ad image URL, for image ads.
media_type?
Section titled “media_type?”
optionalmedia_type?:string
Defined in: src/types/webhooks.ts:84
The ad media type, image or video.
source_id?
Section titled “source_id?”
optionalsource_id?:string
Defined in: src/types/webhooks.ts:76
The ad ID.
source_type?
Section titled “source_type?”
optionalsource_type?:string
Defined in: src/types/webhooks.ts:78
The source type, e.g. ad.
source_url?
Section titled “source_url?”
optionalsource_url?:string
Defined in: src/types/webhooks.ts:74
The ad URL.
thumbnail_url?
Section titled “thumbnail_url?”
optionalthumbnail_url?:string
Defined in: src/types/webhooks.ts:90
The ad video thumbnail URL, for video ads.
video_url?
Section titled “video_url?”
optionalvideo_url?:string
Defined in: src/types/webhooks.ts:88
The ad video URL, for video ads.
welcome_message?
Section titled “welcome_message?”
optionalwelcome_message?:object
Defined in: src/types/webhooks.ts:94
The ad greeting text.
optionaltext?:string
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.