@slack/web-api / PlanBlock
Interface: PlanBlock
Defined in: packages/types/dist/block-kit/blocks.d.ts:339
Description
A collection of related tasks.
See
https://docs.slack.dev/reference/block-kit/blocks/plan-block/
Extends
Properties
block_id?
optional block_id: string;
Defined in: packages/types/dist/block-kit/blocks.d.ts:15
Description
A string acting as a unique identifier for a block. If not specified, a block_id will be generated.
You can use this block_id when you receive an interaction payload to
identify the source of the action.
Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of
a message. If a message is updated, use a new block_id.
Inherited from
tasks?
optional tasks: (Record<string, unknown> | TaskCardBlock)[];
Defined in: packages/types/dist/block-kit/blocks.d.ts:351
Description
A sequence of task card blocks. Each task represents a single action within the plan.
title
title: string;
Defined in: packages/types/dist/block-kit/blocks.d.ts:347
Description
Title of the plan in plain text.
type
type: "plan";
Defined in: packages/types/dist/block-kit/blocks.d.ts:343
Description
The type of block. In this case type is always plan.