goldenspearllc/Slack chat.postMessage

Post a message to a Slack channel

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
channelChannel, private group, or IM channel to send message to. Can be an encoded ID, or a nameyes#general
textText of the message to send. See below for an explanation of formatting. This field is usually required, unless you're providing only attachments instead. Provide no more than 40,000 characters or risk truncation.yes""
as_userPass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below.no
attachmentsA JSON-based array of structured attachments, presented as a URL-encoded string.no
blocksA JSON-based array of structured blocks, presented as a URL-encoded string.no
icon_emojiEmoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.no
icon_urlURL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.no
link_namesFind and link channel names and usernames.no
mrkdwnDisable Slack markup parsing by setting to false. Enabled by default.no
parseChange how messages are treated. Defaults to none. See below.no
reply_broadcastUsed in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false.no
thread_tsProvide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead.no
unfurl_linksPass true to enable unfurling of primarily text-based content.no
unfurl_mediaPass false to disable unfurling of media content.no
usernameSet your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.no

no outputs