💬 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
Example response
{
"data": {
"_id": "648e0746aeefd0cfa40adddf"
},
"message": "Message deleted successfully",
"statusCode": 200,
"success": true
}