Skip to content

Displays a link to a channel.

Available in Messages, Modals, Home tab
Used in Rich text section element, Rich text list element, Rich text quote element
Field Type Description Required?
type String The type of object; in this case, channel. Required
channel_id String The id of the channel to link to. Required
tab_id String The id of a specific tab of the channel. Optional
style Object An object of optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, underline and unlink. Optional

A channel link — how it renders in Repzo Chat

{
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Escalations are now handled in "
},
{
"type": "channel",
"channel_id": "a7d41c90-2e5b-4f83-b6c1-0e9f2d84a517"
},
{
"type": "text",
"text": "."
}
]
}
]
}
]
}