Share via


Extensions.GenerateMessages Method

Definition

Given a prompt definition generate messages to send back.

public static bool GenerateMessages (this Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt prompt, Microsoft.Bot.Connector.IMessageActivity preamble, Microsoft.Bot.Connector.IMessageActivity promptMessage);
static member GenerateMessages : Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt * Microsoft.Bot.Connector.IMessageActivity * Microsoft.Bot.Connector.IMessageActivity -> bool
<Extension()>
Public Function GenerateMessages (prompt As FormPrompt, preamble As IMessageActivity, promptMessage As IMessageActivity) As Boolean

Parameters

prompt
FormPrompt

Prompt definition.

preamble
IMessageActivity

Simple text message with all except last line of prompt to allow markdown in prompts.

promptMessage
IMessageActivity

Message with prompt definition including cards.

Returns

True if preamble should be sent.

Applies to