From 26c6cd6cbfacfac8a9011a299aca7bee2ec8849e Mon Sep 17 00:00:00 2001 From: Ruslan Efanov Date: Mon, 19 Dec 2022 16:59:30 +0300 Subject: [PATCH] add `referer_uri` field for referral message --- receiving.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/receiving.go b/receiving.go index 0bf75d4..b343993 100644 --- a/receiving.go +++ b/receiving.go @@ -82,6 +82,8 @@ type Referral struct { AdID string `json:"ad_id,omitempty"` // The data containing information about the CTM ad, the user initiated the thread from. AdsContextData AdsContextData `json:"ads_context_data,omitempty"` + // URI of the site from which the message was sent to the Facebook chat plugin. + RefererURI string `json:"referer_uri,omitempty"` } // AdsContextData represents data containing information about the CTM ad, the user initiated the thread from.