Function: createSlackBotBuilder()
ts
function createSlackBotBuilder(options): SlackApproverNode;Defined in: slack/src/builders/create-slack-bot-builder.ts:16
Compiles a passive SlackApproverNode from SlackBotOptions (slack.bot).
Produces a frozen AST node with type: 'slack:approver' and interactionMode: 'bidirectional' that satisfies both HumanChannelASTNode<'bidirectional'> and ControlPlaneASTNode.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | SlackBotOptions | App token, bot token, and target Slack channel configuration. |
Returns
Frozen passive Slack Socket Mode approver AST node.
Throws
If any literal appToken, botToken, or channel string is empty.