A block of text with rich formatting options including styles, hyperlinks, and interactive
elements defined in Text
. A WorkflowTextFormat can contain one or more Text
s.
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 |
|---|---|---|
Workflow
|
Adds a Text
to the workflow text format. |
Detailed documentation
add
Text
Format
Element(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.

