> Documentation index: https://developers.google.com/workspace/chat/llms.txt

- [JSON representation](https://developers.google.com/workspace/chat/api/reference/rest/v1/Chip.md.txt#SCHEMA_REPRESENTATION)

A text, icon, or text and icon chip that users can click.

![](https://www.gstatic.com/images/branding/productlogos/chat_2023q4/v1/192px.svg) ![](https://www.gstatic.com/images/branding/productlogos/gsuite_addons/v6/192px.svg) Available for Google Chat apps and Google Workspace add-ons.

| JSON representation |
|---|
| ``` { "icon": { object (`Icon`) }, "label": string, "onClick": { object (`OnClick`) }, "enabled": boolean, "disabled": boolean, "altText": string } ``` |

| Fields ||
|---|---|
| `icon` | ``object (`Icon`)`` The icon image. If both `icon` and `label` are set, then the icon appears before the label. |
| `label` | `string` The text displayed inside the chip. |
| `onClick` | ``object (`OnClick`)`` Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom function. |
| `enabled (deprecated)` | `boolean` > [!WARNING] > This item is deprecated! Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. |
| `disabled` | `boolean` Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. |
| `altText` | `string` 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"](https://developers.google.com/workspace/chat). |