A text, icon, or text and icon chip that users can click.
Available for Google Chat apps and Google Workspace add-ons.
| JSON representation |
|---|
{ "icon": { object ( |
| Fields | |
|---|---|
icon |
The icon image. If both |
label |
The text displayed inside the chip. |
onClick |
Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom function. |
enabled |
Deprecated: Use Whether the chip is in an active state and responds to user actions. |
disabled |
Whether the chip is in an inactive state and ignores user actions. Defaults to |
altText |
The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". |