Join Public group channel

if (groupChannel.isPublic) {
    groupChannel.join(function(response, error) {
        if (error) {
            // Handle error.


도큐먼트상에서는 이렇게 접속을 한다는데, 예시가 혹시 있을까요 …? 쿠키에 저장한 유저아이디와 채팅방 url 을 이용하려는데 어떻게 사용하는지 감이 안잡힙니다 … ㅠㅜ

In SendBird document, It is that join to Public group chat Like this.
But i dont really know using this : (
so can i get a example for using this situation ?
I using user_id by cookie, sendbird chat url in my project.

i solve this problem using func joinGroup() :slight_smile:

Do we have a function called joinGroup()?

There is no .joinGroup however there is a .join for public group channels.


this plugin does not provide any support really bad platform please go ahead guys

then show your code…

Hi @rahul_ajmera,

I’m not sure what you mean here. Can you expand?

Hello guys,
I wish to join a public channel using the join channel code give in the doc but there is no way to make sure that the user has joined the public channel as there in no params like user, user_id taken by the code
Please give a clear description about how the user will be joining if no user related params are passed to the join function

Hi @kunal_kadam,

Welcome to the Sendbird community. If you’re referring to the Javascript SDK, it would make sense that it does not take any value such as user or user_id as it already has this context. It would only join the user that is currently logged into the SDK.

If you’re referring to the Platform API, which does not have any context into which user is making the call, you can pass in a user_id parameter.