DialogTestClient.GetNextReply<T> Method

Definition

Gets the next bot response.

public virtual T GetNextReply<T> () where T : Microsoft.Bot.Schema.IActivity;
abstract member GetNextReply : unit -> 'T (requires 'T :> Microsoft.Bot.Schema.IActivity)
override this.GetNextReply : unit -> 'T (requires 'T :> Microsoft.Bot.Schema.IActivity)
Public Overridable Function GetNextReply(Of T As IActivity) () As T

Type Parameters

T

An IActivity derived type.

Returns

T

The next activity in the queue; or null, if the queue is empty.

Applies to