Show / Hide Table of Contents

Class SelectionInput.Types.SelectionItem

An item that users can select in a selection input, such as a checkbox or switch.

Google Workspace Add-ons and Chat apps:

Inheritance
object
SelectionInput.Types.SelectionItem
Implements
IMessage<SelectionInput.Types.SelectionItem>
IEquatable<SelectionInput.Types.SelectionItem>
IDeepCloneable<SelectionInput.Types.SelectionItem>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class SelectionInput.Types.SelectionItem : IMessage<SelectionInput.Types.SelectionItem>, IEquatable<SelectionInput.Types.SelectionItem>, IDeepCloneable<SelectionInput.Types.SelectionItem>, IBufferMessage, IMessage

Constructors

SelectionItem()

Declaration
public SelectionItem()

SelectionItem(SelectionItem)

Declaration
public SelectionItem(SelectionInput.Types.SelectionItem other)
Parameters
Type Name Description
SelectionInput.Types.SelectionItem other

Properties

BottomText

For multiselect menus, a text description or label that's displayed below the item's text field.

Declaration
public string BottomText { 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
public 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
public string StartIconUri { get; set; }
Property Value
Type Description
string

Text

The text that identifies or describes the item to users.

Declaration
public 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
public string Value { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX