/ SDKs / Unreal
Chat SDKs Unreal v3
Chat SDKs Unreal
Chat SDKs
Version 3

Categorize channels by custom type

Copy link

When creating a group channel, you can additionally specify a custom channel type to subclassify open or group channels. This custom type takes on the form of a std::wstring, and can be useful in searching or filtering open or group channels.

The data and custom_type properties of a channel object allow you to append information to your channels. While both properties can be used flexibly, common examples for the custom_type include categorizing channels into School or Work.

Open channelGroup channel
SBDOpenChannel::CreateChannel(NAME, CHANNEL_URL, COVER_URL, DATA, OPERATOR_USER_IDS, CUSTOM_TYPE, [](SBDOpenChannel* openChannel, SBDError* error) {
    if (error != nullptr) {
        // Handle error.

The custom_type property contains the channel's custom type.