詳しくは、Google Chat ドキュメントのインタラクティブ ダイアログを開くをご覧ください。
Dialog
オブジェクトのビルダー。
Google Chat アプリでのみ使用できます。Google Workspace アドオンでは利用できません。
const card = CardService.newCardBuilder() .setHeader(CardService.newCardHeader().setTitle('Card title')).build(); // Sets the card of the dialog. const dialog = CardService.newDialog() .setBody(card);
Methods
メソッド | 戻り値の型 | 概要 |
---|---|---|
setBody(card) | Dialog | Dialog のカードを設定します。 |