# Chat SDK v4 create group channel

**URL:** https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912
**Category:** JavaScript
**Tags:** group-channel, chatsdk
**Created:** [June 17, 2022, 9:02am UTC](https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912 "2022-06-17T09:02:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hewong](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hewong/32/1817_2.png) [@hewong](https://community.sendbird.com/u/hewong)
#### Post date: [June 17, 2022, 9:02am UTC](https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912/1 "2022-06-17T09:02:08Z")

</div>

The documentation is still using the v3 syntax.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/2/232eaaec1ca61f7c51043f6ca83d352437ec4650.png)

From what I understood, the new syntax would be something like this

```auto
const params: GroupChannelCreateParams = {
	name: '',
	isDistinct: true,
	isStrict: true,
};

```

I’m also trying to find the equivalent of `params.addUserIds()` in v4, in the documentation there’s only `operatorUserIds`.

Thank you

---

<div class="post-metadata">

### Author: ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)
#### Post date: [June 17, 2022, 9:31am UTC](https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912/2 "2022-06-17T09:31:12Z")

</div>

Hey @hewong,

Thank you calling this out. I’ve raised it up to our team to get that corrected. In regards to `addUserIds()`, you’ll want to utilize `invitedUserIds: string[]`. I’m having this updated as well.

You can find a complete list of what params are accepted in the API Reference: [GroupChannelCreateParams | Sendbird Chat SDK Reference - v4.0.0-beta](https://sendbird.com/docs/chat/v4/javascript/ref/classes/module_groupChannelModule.GroupChannelCreateParams.html)

---

<div class="post-metadata">

### Author: ![hewong](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hewong/32/1817_2.png) [@hewong](https://community.sendbird.com/u/hewong)
#### Post date: [June 17, 2022, 9:44am UTC](https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912/3 "2022-06-17T09:44:30Z")

</div>

Thank you for the prompt reply!

---

<div class="post-metadata">

### Author: ![Babitha\_Chilukuri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/babitha_chilukuri/32/2589_2.png) [@Babitha\_Chilukuri](https://community.sendbird.com/u/Babitha_Chilukuri)
#### Post date: [March 9, 2023, 12:38pm UTC](https://community.sendbird.com/t/chat-sdk-v4-create-group-channel/4912/4 "2023-03-09T12:38:06Z")

</div>

Hi @Tyler  
How to create a group channel using javascript instead of typescript using v4?
