Skip to content

slackbuzz message edit

Edit a message

Update the text of an existing Slack message.

The channel argument accepts #channel-name or a channel ID. If new-text is omitted, reads from stdin (for piping).

The new text goes through the same pipeline as message send: standard Markdown (bold, # headers, links) is converted to Slack mrkdwn and @mentions are resolved. Use —raw to disable the Markdown conversion.

slackbuzz message edit <channel> <timestamp> [new-text] [flags]
# Edit a message
slackbuzz message edit #general 1706000000.000000 "updated text"
# Pipe new text
echo "corrected text" | slackbuzz message edit #general 1706000000.000000
--as-bot Edit as the bot instead of your user account
-h, --help help for edit
--jq string Filter JSON output using a jq expression
--json Output JSON
--raw Disable Markdown→mrkdwn auto-conversion
--template string Format JSON output using a Go template