SetTestOptionsMiddleware class
Middleware that catch "SetTestOptions" event and save into "Conversation.TestOptions".
Methods
| on |
Processes an incoming event activity. |
Method Details
onTurn(TurnContext, () => Promise<void>)
Processes an incoming event activity.
function onTurn(context: TurnContext, next: () => Promise<void>): Promise<void>
Parameters
- context
-
TurnContext
The context object for this turn.
- next
-
() => Promise<void>
The delegate to call to continue the bot middleware pipeline
Returns
Promise<void>