Canvas message unfurl element
This is a rich text element, compatible only with the rich_text block. It must be used within the rich_text_list, rich_text_quote, or rich_text_section block element within the rich_text block's elements array.
Fields
| Field | Type | Description | Required? |
|---|---|---|---|
type | String | The type of object; in this case, "canvas_message_unfurl". | Required |
root_message_ts | String | The timestamp of the root message. | Required |
root_message_channel | String | The channel the root message was posted in. | Required |
style | Object | An object of optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, and underline. | Optional |
Example
{
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "canvas_message_unfurl",
"root_message_ts": "1783613573",
"root_message_channel": "CABCDEFGHI",
}
]
}
]
}
]
}