Skip to main content

Interface: ActionConstraints

Defined in: adapter.ts:679

Constraints on when to call an action handler.

Properties

actionId?

optional actionId: string | RegExp;

Defined in: adapter.ts:693

A string or RegExp to match against the action_id


blockId?

optional blockId: string | RegExp;

Defined in: adapter.ts:688

A string or RegExp to match against the block_id


callbackId?

optional callbackId: string | RegExp;

Defined in: adapter.ts:683

A string or RegExp to match against the callback_id


type?

optional type: string;

Defined in: adapter.ts:700

Valid types include all actions block elements, select only for menu selections, or dialog_submission only for dialog submissions


unfurl?

optional unfurl: boolean;

Defined in: adapter.ts:705

When true only match actions from an unfurl