Chain.WaitToBot<T>(IDialog<T>) 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.
Post to the chain the message to the bot after the antecedent completes.
public static Microsoft.Bot.Builder.Dialogs.IDialog<Microsoft.Bot.Connector.IMessageActivity> WaitToBot<T> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent);
static member WaitToBot : Microsoft.Bot.Builder.Dialogs.IDialog<'T> -> Microsoft.Bot.Builder.Dialogs.IDialog<Microsoft.Bot.Connector.IMessageActivity>
<Extension()>
Public Function WaitToBot(Of T) (antecedent As IDialog(Of T)) As IDialog(Of IMessageActivity)
Type Parameters
- T
The type of the dialog.
Parameters
- antecedent
- IDialog<T>
The antecedent IDialog<TResult>.
Returns
The dialog representing the message sent to the bot.