Skip to main content

Channel 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

FieldTypeDescriptionRequired?
typeStringThe type of object; in this case, "channel".Required
channel_idStringThe ID of the channel to be mentioned.Required
tab_idStringThe ID of a specific channel tab.Optional
styleObjectAn object of optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, underline, and unlink.Optional
from_llmBooleanIndicates whether the channel was generated by the LLM itself.Optional

Example

{
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "channel",
"channel_id": "C123ABC456"
}
]
}
]
}
]
}

View in Block Kit Builder