Skip to main content

Interface: OptionsConstraints

Constraints on when to call an options handler.

Properties

actionId?

optional actionId: string | RegExp;

A string or RegExp to match against the action_id

Defined in

adapter.ts:740


blockId?

optional blockId: string | RegExp;

A string or RegExp to match against the block_id

Defined in

adapter.ts:735


callbackId?

optional callbackId: string | RegExp;

A string or RegExp to match against the callback_id

Defined in

adapter.ts:730


within

within: "block_actions" | "interactive_message" | "dialog";

The source of options request.

Defined in

adapter.ts:745