Class UpdateDraftBodyAction

UpdateDraftBodyAction

Represents an action that updates the email draft body.

Methods

MethodReturn typeBrief description
addUpdateContent(content, contentType)UpdateDraftBodyActionAdd update content of a UpdateDraftBodyAction.
setUpdateType(updateType)UpdateDraftBodyActionSet 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

NameTypeDescription
contentStringThe content to insert to the email draft.
contentTypeContentTypeThe 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

NameTypeDescription
updateTypeUpdateDraftBodyTypeThe type of update to be performed on an email draft.

Return

UpdateDraftBodyAction — This object, for chaining.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.