Divider block
Fields
| Field | Type | Description | Required? |
|---|---|---|---|
type | String | The type of block. For a divider block, type is always divider. | Required |
block_id | String | 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. | Optional |
Usage Info
A content divider, like an <hr>, to split up different blocks inside of a message. The divider block is nice and neat, requiring only a type.
Examples
- JSON
- Python SDK
- Node SDK
- Java SDK
block-kit/src/blocks/divider.py
loading...
block-kit/src/blocks/divider.js
loading...
block-kit/src/main/java/blocks/Divider.java
loading...