Share via


QnACardBuilder.GetQnAPromptsCard(QueryResult, String) Method

Definition

Get Card for MultiTurn scenario. (Can be deprecated from 4.10.0 release of sdk).

public static Microsoft.Bot.Schema.IMessageActivity GetQnAPromptsCard (Microsoft.Bot.Builder.AI.QnA.QueryResult result, string cardNoMatchText = "");
static member GetQnAPromptsCard : Microsoft.Bot.Builder.AI.QnA.QueryResult * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function GetQnAPromptsCard (result As QueryResult, Optional cardNoMatchText As String = "") As IMessageActivity

Parameters

result
QueryResult

Result to be dispalyed as prompts.

cardNoMatchText
String

No match text.

Returns

IMessageActivity.

Applies to