ChoiceFactory.HeroCard(IList<Choice>, String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une activité de message incluant une liste de choix ajoutés comme HeroCard's.
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
Paramètres
- text
- String
Optionnel, texte du message.
- speak
- String
Optionnel, le texte SSML doit être prononcé par le bot sur un canal habilité par la voix.
Retours
Une activité avec des choix comme HeroCard avec des boutons.