Skip to content

Commit

Permalink
Merge pull request #8 from Glagnar/feat/communications/supportheader
Browse files Browse the repository at this point in the history
feat(communication): add unsub header support
  • Loading branch information
glagnar authored Feb 5, 2024
2 parents fef038c + d2296c7 commit 27978c1
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions update_campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,22 @@ import (
)

type UpdateCampaignActionRequest struct {
ParentActionID int64 `json:"parent_action_id,omitempty"`
Created time.Time `json:"created,omitempty"`
Updated time.Time `json:"updated,omitempty"`
Body string `json:"body,omitempty"`
BodyAmp string `json:"body_amp,omitempty"`
Language string `json:"language,omitempty"`
SendingState string `json:"sending_state,omitempty"`
FromID int64 `json:"from_id,omitempty"`
ReplyToID int64 `json:"reply_to_id,omitempty"`
Recipient string `json:"recipient,omitempty"`
Subject string `json:"subject,omitempty"`
PreheaderText string `json:"preheader_text,omitempty"`
Headers map[string]string `json:"headers,omitempty"`
ParentActionID int64 `json:"parent_action_id,omitempty"`
Created time.Time `json:"created,omitempty"`
Updated time.Time `json:"updated,omitempty"`
Body string `json:"body,omitempty"`
BodyAmp string `json:"body_amp,omitempty"`
Language string `json:"language,omitempty"`
SendingState string `json:"sending_state,omitempty"`
FromID int64 `json:"from_id,omitempty"`
ReplyToID int64 `json:"reply_to_id,omitempty"`
Recipient string `json:"recipient,omitempty"`
Subject string `json:"subject,omitempty"`
PreheaderText string `json:"preheader_text,omitempty"`
Headers []struct {
Name string `json:"name"`
Value string `json:"value"`
} `json:"headers,omitempty"`
}

type UpdateCampaignActionResponse struct {
Expand Down

0 comments on commit 27978c1

Please sign in to comment.