Mentions @channel
Mentions everyone (@everyone)
Mentions here (@here)
Render bold text
Mentions channel (e.g. #general). Will mention specific channel by channelId. When channelName is provided will add readable channel name.
Render multiline code block
Render single line code block
Render emoji by name
Encode special Slack characters and HTML entities.
Render italic text
Render bullet list item
Renders JSON representation of slack message.
Render strike-through text
Constructs slack link. Label is automatically escaped.
Mentions user (e.g. @anna). When userName is provided will add readable user name.
Slack user ID
alternative user name, which Slack seems to ignore
properly formatted Slack user mention
Helper constants for the MIME types the Slack message API accepts.
Generated using TypeDoc
Type defining the MIME types that the Slack message API accepts.