v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

❌ Delete Message

The Delete Message endpoint enables users to remove a specific message from a conversation. This can be used to correct mistakes, remove inappropriate content, or simply clear out outdated messages. Deleting messages programmatically is particularly useful for applications that require content moderation or automatic cleanup of conversations, ensuring that sensitive or erroneous information is no longer visible to participants.

delete/send-message/delete

Request body

message_idstring required

The message id ( get from chat detail )

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "status": "PENDING",
    "type": "REVOKE",
    "timestamp": "1725960336"
  }
}