respondAccounts

Continue an accounts flow by submitting the user's answer to a Response.Dialog.

DialogInput.Field field = (DialogInput.Field) dialog.getInput();
client
.respondAccounts(ticket, field.getContext(), userValue)
.thenAccept(
next -> {
// loop on the next Response
});

Parameters

context

InputContext taken from the dialog's input on the prior Response.Dialog.

response

The user's answer; see DialogInput for the format expected by each input variant.