Class GoogleAppsCardV1Chip
A text, icon, or text and icon chip that users can click. Google Chat apps:
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1Chip : IDirectResponseSchema
Properties
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".
Declaration
[JsonProperty("altText")]
public virtual string AltText { get; set; }
Property Value
Type | Description |
---|---|
string |
Disabled
Whether the chip is in an inactive state and ignores user actions. Defaults to false
.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Whether the chip is in an active state and responds to user actions. Defaults to true
. Deprecated. Use
disabled
instead.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Icon
The icon image. If both icon
and text
are set, then the icon appears before the text.
Declaration
[JsonProperty("icon")]
public virtual GoogleAppsCardV1Icon Icon { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsCardV1Icon |
Label
The text displayed inside the chip.
Declaration
[JsonProperty("label")]
public virtual string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
OnClick
Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom function.
Declaration
[JsonProperty("onClick")]
public virtual GoogleAppsCardV1OnClick OnClick { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsCardV1OnClick |