Leaving Chat

Hello team!

I noticed that when using JoinChatAsync the id passed in the call and the id that the chat channel created comes out with are different.

cd5bc7ca-35f9-4c1c-8f98-4f13ee33c461
3.cd5bc7ca-35f9-4c1c-8f98-4f13ee33c461…

This is happening both in Nakama 3.2.0 and 3.4.1 in Unity.

Is there a reason this is the case?

Hello @terahardstudios,

The identifier you pass on the JoinChatAsync is the name for the chat and not the id that it will have. Assuming that you are invoking the function with ChannelType.Room , otherwise I will need more information about what you are trying to accomplish to be able to help you.

For more details about the inner workings of the Chat concept, there is the following page.

Best,
Flávio

1 Like

It is .Room thanks!