Class Dialog

Dialog

لمزيد من التفاصيل، راجِع مقالة فتح مربّعات حوار تفاعلية في مستندات 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);

الطُرق

الطريقةنوع القيمة التي تم إرجاعهاوصف قصير
setBody(card)Dialogتضبط هذه السمة بطاقة Dialog.

مستندات تفصيلية

setBody(card)

تضبط هذه السمة بطاقة Dialog.

const card = CardService.newCardBuilder()
                 .setHeader(CardService.newCardHeader().setTitle('Card title'))
                 .build();

// Sets the card of the dialog.
const dialog = CardService.newDialog().setBody(card);

المَعلمات

الاسمالنوعالوصف
cardCardCard المطلوب استخدامه.

الإرجاع

Dialog: هذا العنصر، للتسلسل