Class GoogleAppsCardV1SelectionItem
An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items. Google Workspace Add-ons and Chat apps:
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1SelectionItem : IDirectResponseSchema
Properties
BottomText
For multiselect menus, a text description or label that's displayed below the item's text
field.
Declaration
[JsonProperty("bottomText")]
public virtual string BottomText { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("selected")]
public virtual bool? Selected { get; set; }
Property Value
Type | Description |
---|---|
bool? |
StartIconUri
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
.
Declaration
[JsonProperty("startIconUri")]
public virtual string StartIconUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
The text that identifies or describes the item to users.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |