Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QuickBlox: how can you clean a group dialog, without deleting it?

Tags:

chat

quickblox

The API gives the option of deleting a dialog. Is it possible to clean a dialog (remove all messages) without deleting it?

like image 801
blueFast Avatar asked Nov 10 '22 03:11

blueFast


1 Answers

There is no native way to delete all messages but keep the dialog, but there are two workarounds possible:

1) Write a script that will execute API calls to first retrieve messages of a particular dialog, and then delete these messages; 2) Delete manually via Quickblox admin panel.

Useful links:

Retrieve messages

Delete message

like image 133
QuickBlox Avatar answered Jan 04 '23 03:01

QuickBlox