Magidoc

editMessage
Mutation

Edits a message's body, mentions, attachments, color, or action-comment visibility. Access: the message author or the human on whose behalf Buzz posted it, subject to container access. Send the full HTML body. Mentions and attachments replace existing values; copy their current values to retain them. Omit color and isPrivate to preserve them. Visibility changes apply only to action comments in client-mode projects and require internal users with writable workspace and project access. Errors: not logged in, not an authorized author, or insufficient access for the requested visibility change.

Arguments

#

messageId

ID !
Non-null

body

Non-null

Complete HTML body; read the current message before editing and preserve content outside the requested change

mentions = []

attachments = []

color

isPrivate

When provided, set visibility for an action comment in a client-mode project. Requires an internal user with writable workspace and project access. Omit to preserve existing visibility. Supported only for action comments.

Response

#

Returns Message !.

Example

#