Chat

Edit a chat message

Replaces the text of a message. Participants see the new text marked as edited; in a group chat, creators the edit newly @mentions are notified. An API key can edit only the messages that same key sent. Messages typed in the dashboard (its owner's included), messages another key sent and system messages return 400.

patch/chat/threads/{chatId}/messages/{messageId}

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/chat/threads/{chatId}/messages/{messageId}
  • Auth: API key in header x-api-key

Path parameters

chatIdstring required
messageIdstring required

Request body

contentstring required

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.