Skip to content

Blocks

Blocks<Msg, C>(h, options): ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "blocks">

Defined in: packages/platform-slack/src/components/blocks.ts:14

The explicit top-level Block Kit container.

Slack has no root block, so a message with more than one block groups them here. The serializer flattens this node into the message’s block list.

Msg

C extends Children<Msg, any>

H<Msg>

BlocksOptions<Msg, C>

ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "blocks">