Messages

Edit a Telegram message

Edits an existing Telegram message in the selected chat using the chosen connected account.

patch/v1/chats/{chat_id}/messages/{message_id}

Request

  • Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.entergram.com/v1/chats/{chat_id}/messages/{message_id}
  • Auth: API key in header X-API-Key

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567
message_idinteger required

Telegram message identifier within the chat.

Example:123456

Request body

accountIdstring required

Connected account id from the accounts endpoint.

parseModestring

Optional Telegram parse mode.

textstring required

Replacement message text.

Example request

{
  "accountId": "acct_demo_123",
  "parseMode": "Markdown",
  "text": "Edited public API message."
}

Response

No Content

Changes

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