1
0
mirror of synced 2024-11-21 20:36:06 +03:00

add referer_uri field for referral message

This commit is contained in:
Pavel 2022-12-20 13:27:30 +03:00 committed by GitHub
commit e378e55563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,8 @@ type Referral struct {
AdID string `json:"ad_id,omitempty"` AdID string `json:"ad_id,omitempty"`
// The data containing information about the CTM ad, the user initiated the thread from. // The data containing information about the CTM ad, the user initiated the thread from.
AdsContextData AdsContextData `json:"ads_context_data,omitempty"` 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. // AdsContextData represents data containing information about the CTM ad, the user initiated the thread from.