Create an open channel
An open channel is ideal for use cases that require a small and static number of channels. To create an open channel on Sendbird Dashboard, follow the below steps:
- In your dashboard, go to Chat > Open channels, and then click Create channel at the top-right corner.
- In the dialog box that appears, specify the name, unique URL, cover image, and custom type of a channel.
You can also create a channel on demand or dynamically through the Chat SDK or the Chat API.
Otherwise, you can create an open channel by passing a configured SBDOpenChannelParams
object as an argument to the parameter in the CreateChannel()
method like the following.
List of arguments
Argument | Type | Description |
---|---|---|
| std::wstring | Specifies the topic or the name of the channel. |
| std::wstring | Specifies the URL of the channel. |
| std::wstring | Specifies the cover image URL of the channel. |
| std::wstring | Specifies additional channel information such as a long description of the channel or a |
| std::vector | Specifies a list of one or more users to register as operators of the channel. Operators can delete any messages and view all messages in the channel without any filtering or throttling. |
| std::wstring | Specifies the custom channel type which is used for channel grouping. |
Using the cover_url
property and UpdateChannel()
method, you can get and update the cover image URL of a channel.