Share via


Chain.WaitToBot<T>(IDialog<T>) Method

Definition

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.

Applies to