Class WorkflowTextFormat

WorkflowTextFormat

TextFormatElement で定義されたスタイル、ハイパーリンク、インタラクティブ要素などのリッチ フォーマット オプションを含むテキスト ブロック。WorkflowTextFormat には 1 つ以上の 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 - チェーン用のワークフロー テキスト形式オブジェクト。