An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items.
Available for Google Chat apps and Google Workspace add-ons.
| JSON representation |
|---|
{ "text": string, "value": string, "selected": boolean, "bottomText": string, "startIconUri": string } |
| Fields | |
|---|---|
text |
The text that identifies or describes the item to users. |
value |
The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see Receive form data. |
selected |
Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item. |
bottomText |
For multiselect menus, a text description or label that's displayed below the item's |
For multiselect menus, the URL for the icon displayed next to the item's text field. Supports PNG and JPEG files. Must be an HTTPS URL. For example, https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: |
|
startIconUri |
|
| End of mutually exclusive fields. | |