Skip to content

Commit

Permalink
Merge pull request #1 from dlsteuer/master
Browse files Browse the repository at this point in the history
add amp_html field for content object
  • Loading branch information
torbensky authored Mar 24, 2021
2 parents 4e15846 + 4be7a34 commit f9c6f38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type Template struct {
// Knowledge of SparkPost's substitution/templating capabilities will come in handy here.
// https://www.sparkpost.com/api#/introduction/substitutions-reference
type Content struct {
AMPHTML string `json:"amp_html,omitempty"`
HTML string `json:"html,omitempty"`
Text string `json:"text,omitempty"`
Subject string `json:"subject,omitempty"`
Expand Down

0 comments on commit f9c6f38

Please sign in to comment.