Skip to main content

ButtonAction

Defined in: src/types/actions/block-action.ts:49

An action from a button element

Extends​

Properties​

action_id​

action_id: string;

Defined in: src/types/actions/block-action.ts:42

Inherited from​

BasicElementAction.action_id


action_ts​

action_ts: string;

Defined in: src/types/actions/block-action.ts:43

Inherited from​

BasicElementAction.action_ts


block_id​

block_id: string;

Defined in: src/types/actions/block-action.ts:41

Inherited from​

BasicElementAction.block_id


confirm?​

optional confirm?: Confirmation;

Defined in: src/types/actions/block-action.ts:53


text​

text: PlainTextElement;

Defined in: src/types/actions/block-action.ts:51


type​

type: "button";

Defined in: src/types/actions/block-action.ts:40

Inherited from​

BasicElementAction.type


url?​

optional url?: string;

Defined in: src/types/actions/block-action.ts:52


value?​

optional value?: string;

Defined in: src/types/actions/block-action.ts:50