v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
💬 Chat App

Delete chat message

This API endpoint empowers logged-in users to seamlessly delete a message in the chat that is sent by them.

By sending a DELETE request to this endpoint with the relevant chatId and messageId, users can effectively remove the specified message, thereby enhancing their control over their chat interactions and facilitating a streamlined and personalized messaging experience.

delete/chat-app/messages/{chatId}/{messageId}

Response

Delete chat message

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "_id": "648e0746aeefd0cfa40adddf"
  },
  "message": "Message deleted successfully",
  "statusCode": 200,
  "success": true
}