Class ButtonSet

ButtonSet

इस प्रॉपर्टी में, पंक्ति में दिखाए जाने वाले Button ऑब्जेक्ट के सेट होते हैं.

यह सुविधा, Google Workspace ऐड-ऑन और Google Chat ऐप्लिकेशन के लिए उपलब्ध है.

var textButton = CardService.newTextButton();
// Finish building the text button...

var imageButton = CardService.newImageButton();
// Finish building the image button...

var buttonSet = CardService.newButtonSet()
    .addButton(textButton)
    .addButton(imageButton);

तरीके

तरीकारिटर्न टाइपसंक्षिप्त विवरण
addButton(button)ButtonSetएक बटन जोड़ता है.

ज़्यादा जानकारी वाला दस्तावेज़

addButton(button)

एक बटन जोड़ता है.

पैरामीटर

नामटाइपब्यौरा
buttonButtonजोड़ने के लिए बटन.

रिटर्न

ButtonSet — यह ऑब्जेक्ट, चेन बनाने के लिए है.