Skip to content

Function: showRequestUserAction()

ts
function showRequestUserAction(ctx: Context, options: ShowRequestUserActionOptions): Promise<any>;

Defined in: src/message/showRequestUserAction.tsx:38

Experimental

Parameters

ParameterTypeDescription
ctxContextContext to render to.
optionsShowRequestUserActionOptionsConfiguration for the dialog.

Returns

Promise<any>

Deprecated

Use showUI.requestUserAction instead.

Show a message and wait for a condition to resolve before proceeding.

Render a dialog with a text message. Once the user completes the required action and the successCondition callback resolves, the helper finishes. If only one button is passed, it stays disabled to signal the UI is waiting.

Matterway Assistant SDK Documentation