Actions21
- Assistant Actions
- Callback Actions
- Chat Actions
- File Actions
- Message Actions
- Peer Agent Actions
Message → Edit a Message
AI-generatedSummary
Replace the text of an existing Home of Agents message in place. Supply the message ID, the owning user ID, and the replacement text in the fields or through the supported input data fallbacks.
Inputs
- Message ID (required) — ID of the message to edit. If blank, uses input
message_id,messageId, ormessage.id. - New Text (required) — Replacement message text. Replaces the existing text entirely; if blank, uses input
textormessage.text. - User ID (required) — User ID used for ownership validation. If blank, uses input
user_idoruserId.
Output shape
A single item containing the API response merged with the original input JSON.
Sends a PATCH request to update the message. Requires configured BGOS API credentials; execution fails if the message ID, user ID, or non-empty replacement text is missing.