Messages

Delete a Telegram message

Deletes a Telegram message in the selected chat using the chosen connected account.

delete/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

Query parameters

account_idstring

Connected account id from the accounts endpoint used to scope the delete operation.

Example:acct_demo_123
revokeboolean

Also revoke the message for the other side when Telegram allows it.

Response

No Content

Changes

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