Skip to content

Commit 2c0fc5b

Browse files
Update transmissions.py
Add support for AMP HTML
1 parent 222161c commit 2c0fc5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sparkpost/transmissions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
'subject': 'content/subject',
3333
'from_email': 'content/from',
3434
'html': 'content/html',
35+
'amp_html': 'content/amp_html',
3536
'text': 'content/text',
3637
'template': 'content/template_id',
3738
'attachments': 'content/attachments',
@@ -201,6 +202,7 @@ def send(self, **kwargs):
201202
:param bool use_draft_template: Defaults to False. Set to true if you
202203
want to send a template that is a draft
203204
:param str html: HTML part of transmission
205+
:param str amp_html: AMP HTML part of the transmission
204206
:param str text: Text part of transmission
205207
:param str subject: Subject of transmission
206208
:param str from_email: Email that the transmission comes from. The

0 commit comments

Comments
 (0)