Class UpdateDraftBodyAction

Update Draft Body Action

Updates the email draft body.

Methods

Method Return type Brief description
Update Draft Body Action Adds the specified content to the draft body.
Update Draft Body Action Sets the Update Draft Body Type of this update action on the draft body.

Detailed documentation

add Update Content(content, contentType)

Adds the specified content to the draft body. The type of the content is specified by Content Type .

Parameters

Name Type Description
content
String The content to insert to the email draft.
content Type
Content Type The content type of the content to be inserted.

Return

Update Draft Body Action — This object, for chaining.


set Update Type(updateType)

Sets the Update Draft Body Type of this update action on the draft body. For example, inserting content at the start, end, or cursor position of the draft body.

Parameters

Name Type Description
update Type
Update Draft Body Type The type of update to be performed on an email draft.

Return

Update Draft Body Action — This object, for chaining.

Design a Mobile Site
View Site in Mobile | Classic
Share by: