Share via


Extensions.GenerateHeroCards(FormPrompt) Method

Definition

Generate a list of hero cards from a prompt definition.

public static System.Collections.Generic.IList<Microsoft.Bot.Connector.Attachment> GenerateHeroCards (this Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt prompt);
static member GenerateHeroCards : Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt -> System.Collections.Generic.IList<Microsoft.Bot.Connector.Attachment>
<Extension()>
Public Function GenerateHeroCards (prompt As FormPrompt) As IList(Of Attachment)

Parameters

prompt
FormPrompt

Prompt definition.

Returns

List of hero cards.

Applies to