Linq icon

Linq

Interact with Linq API (community-built; not affiliated with Linq App Inc.)

Chat Message → Edit

AI-generated

Summary

Edit a chat message by updating its text and optionally a specific message part.

Inputs

  • chatMessageId (required) — The ID of the chat message to edit.
  • editText (required) — The new text to apply to the selected message part.
  • messagePartIndex — Optional message part index for editing or reacting to a specific part.

Output shape

a single updated chat message object

Returned only on success; errors are propagated as n8n errors.

Examples

Example 1: Edit a chat message to modify its text.

Set chatMessageId to the target message ID, editText to the new message body, and optionally provide messagePartIndex if editing a specific part.

Example 2: Edit a specific part of a message by index.

Provide chatMessageId, messagePartIndex (e.g., 0), and editText with the new content.

Links

Discussion