Messages

Edit a previously sent message. Platform support:

  • Telegram: text and/or reply markup, any time
  • 'iMessage: text only, within 15 minutes of sending (Apple''s limit; 409 edit_window_expired after that). Group messages included. The stored message keeps its edit history.'
  • All others: returns 400
patch/v1/inbox/conversations/{conversationId}/messages/{messageId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/inbox/conversations/{conversationId}/messages/{messageId}
  • Auth: HTTP bearer

Path parameters

conversationIdstring required

The conversation ID

messageIdstring required

The platform message ID to edit (iMessage also accepts the Zernio message id)

Request body

accountIdstring required

Account ID

textstring

New message text

Response

Message edited

successboolean

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status