Slack

Frends.Slack.SendMessage / 2.0.0

Summary

Posts to a channel or directly to a user, as plain text or a Block Kit layout, and can reply inside an existing thread. It returns the message's timestamp, which is the handle for editing or deleting it later.

Typical use — operational notifications; replying in-thread keeps a Process's updates together rather than scattered down the channel

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Data to use for sending Slack message.

Name Type Default Example Description
ChannelId String C01234567 or U12345678

The Slack channel or user ID.

Mode MessageMode PlainText

Message format mode.

Possible values:

  • PlainText: Plain text message

  • Blocks: Richly formatted Block Kit message

Text String Hello from our integration!

The plain text of the message to send.

Blocks String [{ "type": "section", "text": { "type": "mrkdwn", "text": "*Hello* _world_!" } }]

Slack Block Kit JSON for rich formatting.

ThreadTs String 1234567890.123456

Timestamp of a message to reply in a thread.

An unhandled error has occurred. Reload 🗙