Skip to main content

Send Edit Message

PATCH 

/api/v2/instance/:instanceId/send/edit-message

Send Edit Message

This endpoint is designed to edit individual messages in a specific instance, making it easy to update messages in the WhatsApp application.

Request

Path Parameters

    instanceId stringrequired

    ID of the instance.

Query Parameters

    message stringrequired

    Enter the messageId or keiId of the message you want to react to.

Body

required

The request body must be a JSON object containing the necessary parameters for editing the message.

  • editMessage: Object that encapsulates the details of the message to be edited.
    • text: Updated message text.
    editMessage object
    text Edited text message.required

Responses

ResponseSendMessage

Schema
    messageId stringrequired
    keyId stringrequired
    keyFromMe booleanrequired
    keyRemoteJid stringrequired
    keyParticipant string
    pushName stringrequired
    contentType stringrequired
    isGroup booleanrequired
    content objectrequired
    source stringrequired
    messageTimestamp numberrequired
    createdAt date-timerequired

    Default value: 2023-12-13T17:55:01.032Z

    instanceInstanceId stringrequired

    Default value: 2023-12-13T17:55:01.032Z

    externalAttributes stringrequired
Loading...