cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid}/conversation/read \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "messageId": 123 }'
{ "data": { "success": true, "message": "The messages after the message id 340 from the user demo1 are marked as unread for the user demo3." } }
This API will mark the group conversation as unread.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
GUID of the group whose conversation needs to be fetched.
Marking Conversation as unread
The response is of type object.
object
Was this page helpful?