# Leaving Chat

**URL:** <https://forum.heroiclabs.com/t/leaving-chat/3006>\
**Category:** Runtime Framework\
**Tags:** getting-started\
**Created:** [September 7, 2022, 5:44am UTC](https://forum.heroiclabs.com/t/leaving-chat/3006 "2022-09-07T05:44:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![terahardstudios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/terahardstudios/32/43_2.png) [@terahardstudios](https://forum.heroiclabs.com/u/terahardstudios)\
**Post date:** [September 7, 2022, 5:44am UTC](https://forum.heroiclabs.com/t/leaving-chat/3006/1 "2022-09-07T05:44:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![flavio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/flavio/32/2161_2.png) [@flavio](https://forum.heroiclabs.com/u/flavio)\
**Post date:** [September 8, 2022, 11:05am UTC](https://forum.heroiclabs.com/t/leaving-chat/3006/2 "2022-09-08T11:05:40Z")

</div>

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](https://heroiclabs.com/docs/nakama/concepts/chat/).

Best,  
Flávio

---

<div class="post-metadata">

**Author:** ![terahardstudios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/terahardstudios/32/43_2.png) [@terahardstudios](https://forum.heroiclabs.com/u/terahardstudios)\
**Post date:** [September 8, 2022, 2:41pm UTC](https://forum.heroiclabs.com/t/leaving-chat/3006/3 "2022-09-08T14:41:16Z")

</div>

It is .Room thanks!
