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.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.