Lenguaje

ChoiceFactory.HeroCard(IList<Choice>, String, String) Método

Definición

Crea una actividad de mensaje que incluye una lista de opciones añadidas como HeroCard'.

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

Parámetros

choices
IList<Choice>

La lista de opciones para añadir.

text
String

Opcional, texto del mensaje.

speak
String

Opcional, texto SSML que debe ser hablado por el bot en un canal habilitado por voz.

Devoluciones

Una actividad con opciones como HeroCard con botones.

Se aplica a