I need help to delete a private channel or entirely delete the private messages

Is there any function to delete a private channel or purge all private messages?

Hi @aliakbarm534,

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 RemoveChatMessageAsync function directly from the client, passing in the appropriate message IDs.
  • Call ChannelMessageRemove on the server, either via an RPC or some other mechanism where appropriate.