Skip to content

ButtonOptions

Defined in: packages/platform-slack/src/components/button.ts:7

Msg

C extends View.Children<Msg>

readonly optional actionId?: string

Defined in: packages/platform-slack/src/components/button.ts:9

A stable id for this button. Generated by the host when omitted.


readonly children: C

Defined in: packages/platform-slack/src/components/button.ts:16


readonly optional disabled?: boolean

Defined in: packages/platform-slack/src/components/button.ts:13


readonly optional onClick?: Handler<Msg, { ack: AckFn<void> | AckFn<string | SayArguments> | AckFn<DialogValidation>; action: DialogSubmitAction | BlockElementAction | InteractiveAction; body: SlackAction; complete?: FunctionCompleteFn; fail?: FunctionFailFn; inputs?: FunctionInputs; payload: DialogSubmitAction | BlockElementAction | InteractiveAction; respond: RespondFn; }>

Defined in: packages/platform-slack/src/components/button.ts:15

Sends a message when Slack reports a click.


readonly optional style?: ButtonStyle

Defined in: packages/platform-slack/src/components/button.ts:10


readonly optional url?: string

Defined in: packages/platform-slack/src/components/button.ts:11


readonly optional value?: string

Defined in: packages/platform-slack/src/components/button.ts:12