goldenspearllc/Slack chat.postMessage
Post a message to a Slack channel
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| channel | Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name | yes | #general |
| text | Text 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_user | Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below. | no | — |
| attachments | A JSON-based array of structured attachments, presented as a URL-encoded string. | no | — |
| blocks | A JSON-based array of structured blocks, presented as a URL-encoded string. | no | — |
| icon_emoji | Emoji 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_url | URL 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_names | Find and link channel names and usernames. | no | — |
| mrkdwn | Disable Slack markup parsing by setting to false. Enabled by default. | no | — |
| parse | Change how messages are treated. Defaults to none. See below. | no | — |
| reply_broadcast | Used 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_ts | Provide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead. | no | — |
| unfurl_links | Pass true to enable unfurling of primarily text-based content. | no | — |
| unfurl_media | Pass false to disable unfurling of media content. | no | — |
| username | Set your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below. | no | — |
Outputs
no outputs