AdInteractionSourceMediaType represents the media type of an ad interaction source.
Copy
type AdInteractionSourceMediaType string
Copy
const ( // AdInteractionSourceMediaTypeImage indicates that the ad interaction source is an image. AdInteractionSourceMediaTypeImage AdInteractionSourceMediaType = "image" // AdInteractionSourceMediaTypeVideo indicates that the ad interaction source is a video. AdInteractionSourceMediaTypeVideo AdInteractionSourceMediaType = "video")
AdInteractionSourceType represents the source type of an ad interaction.
Copy
type AdInteractionSourceType string
Copy
const ( // AdInteractionSourceTypePost indicates that the ad interaction is from a post. AdInteractionSourceTypePost AdInteractionSourceType = "post" // AdInteractionSourceTypeAd indicates that the ad interaction is from an ad. AdInteractionSourceTypeAd AdInteractionSourceType = "ad")
type BaseMessageEventParams struct { BusinessAccountId string MessageId string PhoneNumber BusinessPhoneNumber Timestamp string From string // * whatsapp account id of the user who sent the message SenderName string IsForwarded bool Context MessageContext // * this context will not be present if in case a message is a reply to another message Requester request_client.RequestClient}