Skip to main content

Interface: ActionConstraints

Constraints on when to call an action handler.

Properties

actionId?

optional actionId: string | RegExp;

A string or RegExp to match against the action_id

Defined in

adapter.ts:693


blockId?

optional blockId: string | RegExp;

A string or RegExp to match against the block_id

Defined in

adapter.ts:688


callbackId?

optional callbackId: string | RegExp;

A string or RegExp to match against the callback_id

Defined in

adapter.ts:683


type?

optional type: string;

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

Defined in

adapter.ts:700


unfurl?

optional unfurl: boolean;

When true only match actions from an unfurl

Defined in

adapter.ts:705