From c171c7727292cf99c0059a566d98bdaf682dcac4 Mon Sep 17 00:00:00 2001 From: Eric Fialkowski Date: Wed, 4 Jan 2023 11:35:07 -0700 Subject: [PATCH] new optional fields added to request struct --- .gitignore | 1 + send_email.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index daf913b..0c9e329 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Folders _obj _test +.idea # Architecture specific extensions/prefixes *.[568vq] diff --git a/send_email.go b/send_email.go index 5109ef4..b738f34 100644 --- a/send_email.go +++ b/send_email.go @@ -30,6 +30,9 @@ type SendEmailRequest struct { SendToUnsubscribed *bool `json:"send_to_unsubscribed,omitempty"` EnableTracking *bool `json:"tracked,omitempty"` QueueDraft *bool `json:"queue_draft,omitempty"` + DisableCSSPreprocessing *bool `json:"disable_css_preprocessing,omitempty"` + SendAt *int64 `json:"send_at,omitempty"` + Language *string `json:"language,omitempty"` } var ErrAttachmentExists = errors.New("attachment with this name already exists")