Rich text quote element
Fields
| Field | Type | Description | Required? |
|---|---|---|---|
type | String | The type of the sub-element; in this case, rich_text_quote. | Required |
elements | Object [] | An array of rich text elements. Rich text elements include attachment_mention, broadcast, canvas, canvas_user_mention, canvas_message_unfurl, channel, citation, color, date, emoji, file, link, list_record, message_mention, salesforce_data_field, tag, team, text, user, usergroup, work_object_mention, workflow_mention. | Required |
border | Number | Turn the border on or off. | Optional |
Example

- JSON
- Python Slack SDK
- Node Slack SDK
- Java Slack SDK
{
"blocks": [
{
"type": "rich_text",
"block_id": "Vrzsu",
"elements": [
{
"type": "rich_text_quote",
"elements": [
{
"type": "text",
"text": "What we need is good examples in our documentation."
}
]
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Yes - I completely agree, Luke!"
}
]
}
]
}
]
}
block-kit/src/blocks/rich_text.py
loading...
block-kit/src/blocks/rich_text.js
loading...
block-kit/src/main/java/blocks/RichText.java
loading...