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.
Type Parameters
Section titled “Type Parameters”Msg
C extends Children<Msg, any>
Parameters
Section titled “Parameters”H<Msg>
options
Section titled “options”BlocksOptions<Msg, C>
Returns
Section titled “Returns”ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "blocks">