@slack/web-api / ContextBlock
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:56
Displays contextual info, which can include both images and text.
optional block_id: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:15
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.
elements: ContextBlockElement[];Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:65
An array of ImageElement, PlainTextElement or MrkdwnElement objects. Maximum number of items is 10.
type: "context";Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:60
The type of block. For a context block, type is always context.