AI-generated Key Takeaways
-  ButtonSet holds a set of Button objects displayed in a row. 
-  ButtonSet is available for Google Workspace add-ons and Google Chat apps. 
-  You can add a button to a ButtonSet using the addButton()method.
 Button    
 
 Holds a set of  Button 
 
objects that are displayed in a row.
Available for Google Workspace add-ons and Google Chat apps.
const textButton = CardService . newTextButton (); // Finish building the text button... const imageButton = CardService . newImageButton (); // Finish building the image button... const buttonSet = CardService . newButtonSet (). addButton ( textButton ). addButton ( imageButton );
Methods
| Method | Return type | Brief description | 
|---|---|---|
|  Button  | Adds a button. | 
Detailed documentation
 add  
 
 Adds a button.
Parameters
| Name | Type | Description | 
|---|---|---|
| button |  Button 
 | The button to add. | 
Return
  Button  
— This object, for chaining.

