@slack/web-api / ContextActionsBlock
Interface: ContextActionsBlock
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:74
Description
Displays actions as contextual info, which can include both feedback buttons and icon buttons.
Extends
Properties
block_id?
optional block_id: string;
Defined in: node_modules/@slack/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
elements
elements: ContextActionsBlockElement[];
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:82
Description
An array of FeedbackButtons or IconButton block elements. Maximum number of items is 5.
type
type: "context_actions";
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:78
Description
The type of block. For a context actions block, type
is always context_actions
.