Share via


SuggestedActions Constructors

Definition

Overloads

SuggestedActions()

Initializes a new instance of the SuggestedActions class.

SuggestedActions(IEnumerable<String>, IEnumerable<CardAction>)

Initializes a new instance of the SuggestedActions class.

SuggestedActions(IList<String>, IList<CardAction>)

Initializes a new instance of the SuggestedActions class.

SuggestedActions()

Initializes a new instance of the SuggestedActions class.

public SuggestedActions ();
Public Sub New ()

Applies to

SuggestedActions(IEnumerable<String>, IEnumerable<CardAction>)

Initializes a new instance of the SuggestedActions class.

public SuggestedActions (System.Collections.Generic.IEnumerable<string> to, System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.CardAction> actions);
new Microsoft.Bot.Schema.SuggestedActions : seq<string> * seq<Microsoft.Bot.Schema.CardAction> -> Microsoft.Bot.Schema.SuggestedActions
Public Sub New (to As IEnumerable(Of String), actions As IEnumerable(Of CardAction))

Parameters

to
IEnumerable<String>

Ids of the recipients that the actions should be shown to. These Ids are relative to the channelId and a subset of all recipients of the activity.

actions
IEnumerable<CardAction>

Actions that can be shown to the user.

Exceptions

ArgumentNullException.

Applies to

SuggestedActions(IList<String>, IList<CardAction>)

Initializes a new instance of the SuggestedActions class.

public SuggestedActions (System.Collections.Generic.IList<string> to = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> actions = default);
new Microsoft.Bot.Schema.SuggestedActions : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> -> Microsoft.Bot.Schema.SuggestedActions
Public Sub New (Optional to As IList(Of String) = Nothing, Optional actions As IList(Of CardAction) = Nothing)

Parameters

to
IList<String>

Ids of the recipients that the actions should be shown to. These Ids are relative to the channelId and a subset of all recipients of the activity.

actions
IList<CardAction>

Actions that can be shown to the user.

Applies to