This action has been deprecated and will no longer be available in new workflows.
Send a message to a channel or a private group. NOTE: If the channel/group is private, the Blink application must be added to the channel to send messages to it.
Basic Parameters
| Parameter | Description |
|---|
| Channel | Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. |
| Text | Message contents. |
| Thread Timestamp | Provide another message’s timestamp value to make this message a reply. Avoid using a reply’s timestamp value, use its parent instead. |
Advanced Parameters
| Parameter | Description |
|---|
| Blocks | A JSON-based array of structured blocks. |
| Mentions | User emails to mention in the message, separated by commas. |
Example Output
{ "ok": true, "channel": "C03L2S98MM4", "ts": "1668526867.176019", "message": { "bot_id": "B02PJCV1QKB", "type": "message", "text": "example message text", "user": "U02P2RBCW6R", "ts": "1668526867.176019", "app_id": "A02NB62TUMN", "blocks": [ { "type": "rich_text", "block_id": "uLIbW", "elements": [ { "type": "rich_text_section", "elements": [ { "type": "text", "text": "example message text" } ] } ] } ], "team": "T01NVABR4UW", "bot_profile": { "id": "B02PJCV1QKB", "app_id": "A02NB62TUMN", "name": "Blink", "icons": { "image_36": "https://avatars.slack-edge.com/2021-12-16/2842727097478_e542ce7abd1ea0ec4846_36.jpg", "image_48": "https://avatars.slack-edge.com/2021-12-16/2842727097478_e542ce7abd1ea0ec4846_48.jpg", "image_72": "https://avatars.slack-edge.com/2021-12-16/2842727097478_e542ce7abd1ea0ec4846_72.jpg" }, "deleted": false, "updated": 1639646274, "team_id": "T01NVABR4UW" } }}