Represents an action that updates the email draft body.
Methods
Method | Return type | Brief description |
---|---|---|
addUpdateContent(content, contentType) | UpdateDraftBodyAction | Add update content of a UpdateDraftBodyAction . |
setUpdateType(updateType) | UpdateDraftBodyAction | Set the UpdateDraftBodyType of this update action on the draft body. |
Detailed documentation
addUpdateContent(content, contentType)
Add update content of a UpdateDraftBodyAction
. The content type of the content
is specified by ContentType
.
Parameters
Name | Type | Description |
---|---|---|
content | String | The content to insert to the email draft. |
contentType | ContentType | The content type of the content to be inserted. |
Return
UpdateDraftBodyAction
— This object, for chaining.
setUpdateType(updateType)
Set the UpdateDraftBodyType
of this update action on the draft body.
Parameters
Name | Type | Description |
---|---|---|
updateType | UpdateDraftBodyType | The type of update to be performed on an email draft. |
Return
UpdateDraftBodyAction
— This object, for chaining.