Class TextParagraph

TextParagraph

テキストを表示し、基本的な HTML 形式をサポートするウィジェット。

Google Workspace アドオンと Google Chat アプリでご利用いただけます。

var textParagraph = CardService.newTextParagraph()
    .setText("This is a text paragraph widget. Multiple lines are allowed if needed.");

Methods

メソッド戻り値の型概要
setText(text)TextParagraph段落のテキストを設定します。

詳細なドキュメント

setText(text)

段落のテキストを設定します。必須。

パラメータ

Name説明
textString表示するテキスト。

リターン

TextParagraph - チェーン用のこのオブジェクト。