Skip to content

Edit message

Edit the text and/or reply markup of a previously sent Telegram message. Only supported for Telegram. Returns 400 for other platforms.

PATCH /v1/inbox/conversations/{conversationId}/messages/{messageId}

Edit the text and/or reply markup of a previously sent Telegram message. Only supported for Telegram. Returns 400 for other platforms.

Parameters

  • conversationId (path, string) required — The conversation ID

  • messageId (path, string) required — The Telegram message ID to edit

Request body

Content-Type: application/json

  • accountId (string) required — Social account ID
  • text (string) — New message text
  • replyMarkup (object) — New inline keyboard markup

Responses

200 — Message edited

  • success (boolean)
  • data (object)

400 — Not supported or invalid request

401

403 — Inbox addon required