Extensions.GenerateMessages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.