Udostępnij przez


SuggestedActions Konstruktory

Definicja

Przeciążenia

SuggestedActions()

Inicjuje nowe wystąpienie klasy SuggestedActions.

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

Inicjuje nowe wystąpienie klasy SuggestedActions.

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

Inicjuje nowe wystąpienie klasy SuggestedActions.

SuggestedActions()

Inicjuje nowe wystąpienie klasy SuggestedActions.

public SuggestedActions();
Public Sub New ()

Dotyczy

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

Inicjuje nowe wystąpienie klasy SuggestedActions.

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))

Parametry

to
IEnumerable<String>

Identyfikatory adresatów, do których powinny być wyświetlane akcje. Te identyfikatory są względne względem identyfikatora channelId i podzbioru wszystkich adresatów działania.

actions
IEnumerable<CardAction>

Akcje, które mogą być wyświetlane użytkownikowi.

Wyjątki

Argumentnullexception.

Dotyczy

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

Inicjuje nowe wystąpienie klasy SuggestedActions.

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)

Parametry

to
IList<String>

Identyfikatory adresatów, do których powinny być wyświetlane akcje. Te identyfikatory są względne względem identyfikatora channelId i podzbioru wszystkich adresatów działania.

actions
IList<CardAction>

Akcje, które mogą być wyświetlane użytkownikowi.

Dotyczy