Skip to content

ScriptedDialogDriver.handle method

ScriptedDialogDriver › handle

Records a request, checks it against the next step, and answers it.

Signature:

handle(request: DialogRequest): Promise<DialogDriverResponse>

Parameters:

ParameterTypeDescription
requestDialogRequestThe dialog about to be shown.

Returns: Promise<DialogDriverResponse> — The step's answer, or a pass-through.