GPTMaker icon

GPTMaker

Consume GPTMaker API

Chat → Edit Message

AI-generated

Summary

Edit a message in a chat

Inputs

  • chatId (required) — The ID of the chat containing the message to edit
  • messageId (required) — The ID of the message to edit
  • messageText (required) — Message content

Output shape

The API response confirming the message was updated via PUT /v2/chat/{chatId}/message/{messageId}

The message content replaces the existing message text; the chat and message IDs are both required path and identifier parameters.

Examples

Example 1: Update the text of a specific message in a chat

Provide the chat ID, the message ID to target, and the new message content.

Links

Discussion