Class WorkflowTextFormat

工作流程文字格式

一段文字,包含 RTF 格式選項,包括樣式、超連結和 TextFormatElement 中定義的互動式元素。WorkflowTextFormat 可包含一或多個 TextFormatElement

僅適用於擴充 Google Workspace Studio 的 Google Workspace 外掛程式。

用法範例:

const workflowTextFormat = AddOnsResponseService.newWorkflowTextFormat()
  .addTextFormatElement(
    AddOnsResponseService.newTextFormatElement()
      .setText("example_text")
  );

方法

方法傳回類型簡短說明
addTextFormatElement(textFormatElement)WorkflowTextFormat在工作流程文字格式中新增 TextFormatElement

內容詳盡的說明文件

addTextFormatElement(textFormatElement)

在工作流程文字格式中新增 TextFormatElement

參數

名稱類型說明
textFormatElementTextFormatElement要新增的文字格式元素。

回攻員

WorkflowTextFormat - 這個工作流程文字格式物件,用於串連。