Share via


O365ConnectorCardActionCard Constructors

Definition

Overloads

O365ConnectorCardActionCard()

Initializes a new instance of the O365ConnectorCardActionCard class.

O365ConnectorCardActionCard(String, String, String, IList<O365ConnectorCardInputBase>, IList<O365ConnectorCardActionBase>)

Initializes a new instance of the O365ConnectorCardActionCard class.

O365ConnectorCardActionCard()

Initializes a new instance of the O365ConnectorCardActionCard class.

public O365ConnectorCardActionCard ();
Public Sub New ()

Applies to

O365ConnectorCardActionCard(String, String, String, IList<O365ConnectorCardInputBase>, IList<O365ConnectorCardActionBase>)

Initializes a new instance of the O365ConnectorCardActionCard class.

public O365ConnectorCardActionCard (string type = default, string name = default, string id = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardInputBase> inputs = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardActionBase> actions = default);
new Microsoft.Bot.Schema.Teams.O365ConnectorCardActionCard : string * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardInputBase> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardActionBase> -> Microsoft.Bot.Schema.Teams.O365ConnectorCardActionCard
Public Sub New (Optional type As String = Nothing, Optional name As String = Nothing, Optional id As String = Nothing, Optional inputs As IList(Of O365ConnectorCardInputBase) = Nothing, Optional actions As IList(Of O365ConnectorCardActionBase) = Nothing)

Parameters

type
String

Type of the action. Possible values include: 'ViewAction', 'OpenUri', 'HttpPOST', 'ActionCard'.

name
String

Name of the action that will be used as button title.

id
String

Action Id.

inputs
IList<O365ConnectorCardInputBase>

Set of inputs contained in this ActionCard whose each item can be in any subtype of O365ConnectorCardInputBase.

actions
IList<O365ConnectorCardActionBase>

Set of actions contained in this ActionCard whose each item can be in any subtype of O365ConnectorCardActionBase except O365ConnectorCardActionCard, as nested ActionCard is forbidden.

Applies to