slack.contextblock
Home > @runlightyear/slack > ContextBlock
ContextBlock interface
Signature:interface ContextBlock
Required Properties
Property | Modifiers | Type | Description |
---|---|---|---|
elements | Array<ImageBlock | TextObject> | An array of image elements and text objects. Maximum number of items is 10. | |
type | "context" |
Optional Properties
Property | Modifiers | Type | Description |
---|---|---|---|
blockId? | string | A string acting as a unique identifier for a block. If not specified, one will be generated. 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. |