Share via


O365ConnectorCardMultichoiceInput Constructors

Definition

Overloads

O365ConnectorCardMultichoiceInput()

Initializes a new instance of the O365ConnectorCardMultichoiceInput class.

O365ConnectorCardMultichoiceInput(String, String, Nullable<Boolean>, String, String, IList<O365ConnectorCardMultichoiceInputChoice>, String, Nullable<Boolean>)

Initializes a new instance of the O365ConnectorCardMultichoiceInput class.

O365ConnectorCardMultichoiceInput()

Initializes a new instance of the O365ConnectorCardMultichoiceInput class.

public O365ConnectorCardMultichoiceInput ();
Public Sub New ()

Applies to

O365ConnectorCardMultichoiceInput(String, String, Nullable<Boolean>, String, String, IList<O365ConnectorCardMultichoiceInputChoice>, String, Nullable<Boolean>)

Initializes a new instance of the O365ConnectorCardMultichoiceInput class.

public O365ConnectorCardMultichoiceInput (string type = default, string id = default, bool? isRequired = default, string title = default, string value = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardMultichoiceInputChoice> choices = default, string style = default, bool? isMultiSelect = default);
new Microsoft.Bot.Schema.Teams.O365ConnectorCardMultichoiceInput : string * string * Nullable<bool> * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardMultichoiceInputChoice> * string * Nullable<bool> -> Microsoft.Bot.Schema.Teams.O365ConnectorCardMultichoiceInput
Public Sub New (Optional type As String = Nothing, Optional id As String = Nothing, Optional isRequired As Nullable(Of Boolean) = Nothing, Optional title As String = Nothing, Optional value As String = Nothing, Optional choices As IList(Of O365ConnectorCardMultichoiceInputChoice) = Nothing, Optional style As String = Nothing, Optional isMultiSelect As Nullable(Of Boolean) = Nothing)

Parameters

type
String

Input type name. Possible values include: 'textInput', 'dateInput', 'multichoiceInput'.

id
String

Input Id. It must be unique per entire O365 connector card.

isRequired
Nullable<Boolean>

Define if this input is a required field. Default value is false.

title
String

Input title that will be shown as the placeholder.

value
String

Default value for this input field.

choices
IList<O365ConnectorCardMultichoiceInputChoice>

Set of choices whose each item can be in any subtype of O365ConnectorCardMultichoiceInputChoice.

style
String

Choice item rendering style. Default value is 'compact'. Possible values include: 'compact', 'expanded'.

isMultiSelect
Nullable<Boolean>

Define if this input field allows multiple selections. Default value is false.

Applies to