Taal

ChoiceFactory.Inline Methode

Definitie

Hiermee maakt u een berichtactiviteit met een lijst met opties die zijn opgemaakt als een inlinelijst.

public static Microsoft.Bot.Schema.Activity Inline(System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, string text = default, string speak = default, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default);
static member Inline : System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * string * string * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions -> Microsoft.Bot.Schema.Activity
Public Shared Function Inline (choices As IList(Of Choice), Optional text As String = Nothing, Optional speak As String = Nothing, Optional options As ChoiceFactoryOptions = Nothing) As Activity

Parameters

choices
IList<Choice>

De lijst met keuzes om op te nemen.

text
String

Optioneel, de tekst van het bericht dat je moet versturen.

speak
String

Optioneel, de tekst die door je bot wordt uitgesproken op een spraak-gestuurd kanaal.

options
ChoiceFactoryOptions

Optioneel, de opmaakopties die je gebruikt bij het renderen als lijst.

Retouren

De activiteit die een bericht aanmaakt.

Van toepassing op