AronaSlackClientShape
Defined in: packages/platform-slack/src/client/index.ts:105
The Slack client surface consumed by applications and rendered messages.
Properties
Section titled “Properties”destroy
Section titled “destroy”
readonlydestroy:Effect<void,SlackClientError>
Defined in: packages/platform-slack/src/client/index.ts:115
Closes rendered roots and stops the Bolt app.
messages
Section titled “messages”
readonlymessages:Stream<KnownEventFromType<"message">>
Defined in: packages/platform-slack/src/client/index.ts:109
Incoming message events, one stream per subscriber.
readonlystart:Effect<void,SlackClientError>
Defined in: packages/platform-slack/src/client/index.ts:113
Starts the Bolt app.
webClient
Section titled “webClient”
readonlywebClient:SlackWebClientShape
Defined in: packages/platform-slack/src/client/index.ts:107
An Effect-native adapter over Bolt’s Web API client.
Methods
Section titled “Methods”addRoot()
Section titled “addRoot()”addRoot(
root):void
Defined in: packages/platform-slack/src/client/index.ts:116
Parameters
Section titled “Parameters”SlackMessageRootLike
Returns
Section titled “Returns”void
handleAction()
Section titled “handleAction()”handleAction(
payload):Effect<void>
Defined in: packages/platform-slack/src/client/index.ts:111
Routes a block action to the owning rendered message.
Parameters
Section titled “Parameters”payload
Section titled “payload”AckFn<void> | AckFn<string | SayArguments> | AckFn<DialogValidation>
action
Section titled “action”DialogSubmitAction | BlockElementAction | InteractiveAction
SlackAction
complete?
Section titled “complete?”FunctionCompleteFn
FunctionFailFn
inputs?
Section titled “inputs?”FunctionInputs
payload
Section titled “payload”DialogSubmitAction | BlockElementAction | InteractiveAction
respond
Section titled “respond”RespondFn
Returns
Section titled “Returns”Effect<void>
removeInteractionListener()
Section titled “removeInteractionListener()”removeInteractionListener(
uuid):void
Defined in: packages/platform-slack/src/client/index.ts:117
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void