Slack

Frends.Slack.UpdateMessage / 2.0.0

Summary

Rewrites a message already posted, addressed by its timestamp.

Typical use — a single status message a long-running Process keeps current, instead of a stream of new ones

Details

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

Data to use for updating Slack message.

Name Type Default Example Description
ChannelId String C12345678

Channel ID where the message exists

MessageTs String 1234567890.123456

Timestamp of the message to update

Mode MessageMode PlainText

Message format mode

Possible values:

  • PlainText: Plain text message

  • Blocks: Richly formatted Block Kit message

Text String Updated message text

The plain text content (when Mode = PlainText)

Blocks String [{ "type": "section", "text": { "type": "mrkdwn", "text": "*Updated* content" } }]

Block Kit JSON (when Mode = Blocks)

An unhandled error has occurred. Reload 🗙