Is there any function to delete a private channel or purge all private messages?
You can remove private messages via the Nakama console either individually (1) or in bulk (2).
You can also remove chat messages via the client or server.
So in summary I must have a delete rpc function to be called via client?
That is just one option. Your other options are:
- Manual deletion via the Nakama console
- Call the
RemoveChatMessageAsyncfunction directly from the client, passing in the appropriate message IDs.
ChannelMessageRemoveon the server, either via an RPC or some other mechanism where appropriate.