A block of text with rich formatting options including styles, hyperlinks, and interactive
elements defined in Text. A WorkflowTextFormat can contain one or more
Texts.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
Sample usage:
const workflowTextFormat = AddOnsResponseService.newWorkflowTextFormat() .addTextFormatElement( AddOnsResponseService.newTextFormatElement() .setText("example_text") );
Methods
| Method | Return type | Brief description |
|---|---|---|
add | Workflow | Adds a Text to the workflow text format. |
Detailed documentation
addTextFormatElement(textFormatElement)
Adds a Text to the workflow text format.
Parameters
| Name | Type | Description |
|---|---|---|
text | Text | The text format element to be added. |
Return
Workflow — This workflow text format object, for chaining.